aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/serio/sa1111ps2.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/serio/sa1111ps2.c')
-rw-r--r--drivers/input/serio/sa1111ps2.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/input/serio/sa1111ps2.c b/drivers/input/serio/sa1111ps2.c
index 4aacf4f94e3e..4458ec3b1d2a 100644
--- a/drivers/input/serio/sa1111ps2.c
+++ b/drivers/input/serio/sa1111ps2.c
@@ -193,7 +193,7 @@ static void ps2_close(struct serio *io)
193/* 193/*
194 * Clear the input buffer. 194 * Clear the input buffer.
195 */ 195 */
196static void __devinit ps2_clear_input(struct ps2if *ps2if) 196static void ps2_clear_input(struct ps2if *ps2if)
197{ 197{
198 int maxread = 100; 198 int maxread = 100;
199 199
@@ -203,7 +203,7 @@ static void __devinit ps2_clear_input(struct ps2if *ps2if)
203 } 203 }
204} 204}
205 205
206static unsigned int __devinit ps2_test_one(struct ps2if *ps2if, 206static unsigned int ps2_test_one(struct ps2if *ps2if,
207 unsigned int mask) 207 unsigned int mask)
208{ 208{
209 unsigned int val; 209 unsigned int val;
@@ -220,7 +220,7 @@ static unsigned int __devinit ps2_test_one(struct ps2if *ps2if,
220 * Test the keyboard interface. We basically check to make sure that 220 * Test the keyboard interface. We basically check to make sure that
221 * we can drive each line to the keyboard independently of each other. 221 * we can drive each line to the keyboard independently of each other.
222 */ 222 */
223static int __devinit ps2_test(struct ps2if *ps2if) 223static int ps2_test(struct ps2if *ps2if)
224{ 224{
225 unsigned int stat; 225 unsigned int stat;
226 int ret = 0; 226 int ret = 0;
@@ -251,7 +251,7 @@ static int __devinit ps2_test(struct ps2if *ps2if)
251/* 251/*
252 * Add one device to this driver. 252 * Add one device to this driver.
253 */ 253 */
254static int __devinit ps2_probe(struct sa1111_dev *dev) 254static int ps2_probe(struct sa1111_dev *dev)
255{ 255{
256 struct ps2if *ps2if; 256 struct ps2if *ps2if;
257 struct serio *serio; 257 struct serio *serio;