diff options
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/gameport/gameport.c | 1 | ||||
-rw-r--r-- | drivers/input/misc/hp_sdc_rtc.c | 4 | ||||
-rw-r--r-- | drivers/input/serio/serio.c | 1 | ||||
-rw-r--r-- | drivers/input/touchscreen/ads7846.c | 2 |
4 files changed, 6 insertions, 2 deletions
diff --git a/drivers/input/gameport/gameport.c b/drivers/input/gameport/gameport.c index a0af97efe6ac..79dfb4b25c97 100644 --- a/drivers/input/gameport/gameport.c +++ b/drivers/input/gameport/gameport.c | |||
@@ -23,6 +23,7 @@ | |||
23 | #include <linux/kthread.h> | 23 | #include <linux/kthread.h> |
24 | #include <linux/sched.h> /* HZ */ | 24 | #include <linux/sched.h> /* HZ */ |
25 | #include <linux/mutex.h> | 25 | #include <linux/mutex.h> |
26 | #include <linux/freezer.h> | ||
26 | 27 | ||
27 | /*#include <asm/io.h>*/ | 28 | /*#include <asm/io.h>*/ |
28 | 29 | ||
diff --git a/drivers/input/misc/hp_sdc_rtc.c b/drivers/input/misc/hp_sdc_rtc.c index ab4da79ee560..31d5a13bfd6b 100644 --- a/drivers/input/misc/hp_sdc_rtc.c +++ b/drivers/input/misc/hp_sdc_rtc.c | |||
@@ -695,7 +695,9 @@ static int __init hp_sdc_rtc_init(void) | |||
695 | 695 | ||
696 | if ((ret = hp_sdc_request_timer_irq(&hp_sdc_rtc_isr))) | 696 | if ((ret = hp_sdc_request_timer_irq(&hp_sdc_rtc_isr))) |
697 | return ret; | 697 | return ret; |
698 | misc_register(&hp_sdc_rtc_dev); | 698 | if (misc_register(&hp_sdc_rtc_dev) != 0) |
699 | printk(KERN_INFO "Could not register misc. dev for i8042 rtc\n"); | ||
700 | |||
699 | create_proc_read_entry ("driver/rtc", 0, NULL, | 701 | create_proc_read_entry ("driver/rtc", 0, NULL, |
700 | hp_sdc_rtc_read_proc, NULL); | 702 | hp_sdc_rtc_read_proc, NULL); |
701 | 703 | ||
diff --git a/drivers/input/serio/serio.c b/drivers/input/serio/serio.c index 211943f85cb6..5f1d4032fd57 100644 --- a/drivers/input/serio/serio.c +++ b/drivers/input/serio/serio.c | |||
@@ -35,6 +35,7 @@ | |||
35 | #include <linux/slab.h> | 35 | #include <linux/slab.h> |
36 | #include <linux/kthread.h> | 36 | #include <linux/kthread.h> |
37 | #include <linux/mutex.h> | 37 | #include <linux/mutex.h> |
38 | #include <linux/freezer.h> | ||
38 | 39 | ||
39 | MODULE_AUTHOR("Vojtech Pavlik <vojtech@ucw.cz>"); | 40 | MODULE_AUTHOR("Vojtech Pavlik <vojtech@ucw.cz>"); |
40 | MODULE_DESCRIPTION("Serio abstraction core"); | 41 | MODULE_DESCRIPTION("Serio abstraction core"); |
diff --git a/drivers/input/touchscreen/ads7846.c b/drivers/input/touchscreen/ads7846.c index f56d6a0f0624..0517c7387d67 100644 --- a/drivers/input/touchscreen/ads7846.c +++ b/drivers/input/touchscreen/ads7846.c | |||
@@ -189,7 +189,7 @@ static int ads7846_read12_ser(struct device *dev, unsigned command) | |||
189 | { | 189 | { |
190 | struct spi_device *spi = to_spi_device(dev); | 190 | struct spi_device *spi = to_spi_device(dev); |
191 | struct ads7846 *ts = dev_get_drvdata(dev); | 191 | struct ads7846 *ts = dev_get_drvdata(dev); |
192 | struct ser_req *req = kzalloc(sizeof *req, SLAB_KERNEL); | 192 | struct ser_req *req = kzalloc(sizeof *req, GFP_KERNEL); |
193 | int status; | 193 | int status; |
194 | int sample; | 194 | int sample; |
195 | int i; | 195 | int i; |