toshiba.h: hide a function prototypes behind __KERNEL__ macro
authorAlexander Shishkin <virtuoso@slind.org>
Thu, 13 Jan 2011 00:59:35 +0000 (16:59 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 13 Jan 2011 16:03:08 +0000 (08:03 -0800)
commit049763db6cd002cb447a5684b5a543a69d647d42
treefbcba511ce208864a2f2334818e21702ba5ada2a
parent71a9048448de302d1e968f336de01060d02fae71
toshiba.h: hide a function prototypes behind __KERNEL__ macro

Currently, tosh_smm() prototype is present in a header file exported to
userland.  This patch fixes it.

Signed-off-by: Alexander Shishkin <virtuoso@slind.org>
Cc: Jonathan Buzzard <jonathan@buzzard.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/toshiba.h