]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/misc/pti.c: add missing includes
authorSergei Trofimovich <slyfox@gentoo.org>
Thu, 25 Aug 2011 22:59:01 +0000 (15:59 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 25 Aug 2011 23:25:33 +0000 (16:25 -0700)
commit9c1c4a27e92fccae93ed46fbcef3c293ed4568c3
tree552211b91023b771dd8d84572a5b5585f16673f4
parentfa4c1b690890317dfe2af86d40ea5869dd37ab49
drivers/misc/pti.c: add missing includes

Found on allmodconfig build (ARCH=alpha)

    drivers/misc/pti.c: In function 'get_id':
    drivers/misc/pti.c:249: error: implicit declaration of function 'kmalloc'
    drivers/misc/pti.c: In function 'pti_char_write':
    drivers/misc/pti.c:658: error: implicit declaration of function 'copy_from_user'

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Cc: J Freyensee <james_p_freyensee@linux.intel.com>
Cc: Jeremy Rocher <rocher.jeremy@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/misc/pti.c