misc: fix ti-st build issues
authorRandy Dunlap <randy.dunlap@oracle.com>
Tue, 26 Apr 2011 16:18:51 +0000 (09:18 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 29 Apr 2011 21:11:03 +0000 (14:11 -0700)
commit773d67903ad608d3f64cc5b00e2f881473413c13
tree9caba62c65bc726ce5ecf08fd8fa5fb521b62ce7
parente7e09cd667a43d8287f85d453a16fc0ec1e2c7b7
misc: fix ti-st build issues

st_drv uses skb*() interfaces, so it should depend on NET.
It also uses GPIO interfaces, so it should depend on GPIOLIB.

st_kim.c uses syss_*() calls, so it should #include
<linux/sysfs.h>.

Fixes these observed build errors:
ERROR: "skb_queue_purge" [drivers/misc/ti-st/st_drv.ko] undefined!
ERROR: "skb_pull" [drivers/misc/ti-st/st_drv.ko] undefined!
ERROR: "skb_queue_tail" [drivers/misc/ti-st/st_drv.ko] undefined!
ERROR: "__alloc_skb" [drivers/misc/ti-st/st_drv.ko] undefined!
ERROR: "kfree_skb" [drivers/misc/ti-st/st_drv.ko] undefined!
ERROR: "skb_dequeue" [drivers/misc/ti-st/st_drv.ko] undefined!
ERROR: "skb_put" [drivers/misc/ti-st/st_drv.ko] undefined!

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Pavan Savoy <pavan_savoy@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/misc/ti-st/Kconfig
drivers/misc/ti-st/st_kim.c