diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2009-03-13 17:44:51 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-03-13 17:44:51 -0400 |
commit | 97fb44eb6bc01f4ffed4300e475aa15e44877375 (patch) | |
tree | 481ed6efd0babe7185cae04f2fd295426b36411d /drivers/input/keyboard | |
parent | e4707dd3e9d0cb57597b6568a5e51fea5d6fca41 (diff) | |
parent | 148854c65ea8046b045672fd49f4333aefaa3ab5 (diff) |
Merge branch 'for-rmk' of git://git.pengutronix.de/git/imx/linux-2.6 into devel
Conflicts:
arch/arm/mach-at91/gpio.c
Diffstat (limited to 'drivers/input/keyboard')
-rw-r--r-- | drivers/input/keyboard/atkbd.c | 4 | ||||
-rw-r--r-- | drivers/input/keyboard/bf54x-keys.c | 4 | ||||
-rw-r--r-- | drivers/input/keyboard/corgikbd.c | 8 | ||||
-rw-r--r-- | drivers/input/keyboard/omap-keypad.c | 8 | ||||
-rw-r--r-- | drivers/input/keyboard/spitzkbd.c | 8 |
5 files changed, 16 insertions, 16 deletions
diff --git a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c index c3c8b9bc40ae..45470f18d7e9 100644 --- a/drivers/input/keyboard/atkbd.c +++ b/drivers/input/keyboard/atkbd.c | |||
@@ -839,7 +839,7 @@ static void atkbd_disconnect(struct serio *serio) | |||
839 | */ | 839 | */ |
840 | static void atkbd_dell_laptop_keymap_fixup(struct atkbd *atkbd) | 840 | static void atkbd_dell_laptop_keymap_fixup(struct atkbd *atkbd) |
841 | { | 841 | { |
842 | const unsigned int forced_release_keys[] = { | 842 | static const unsigned int forced_release_keys[] = { |
843 | 0x85, 0x86, 0x87, 0x88, 0x89, 0x8a, 0x8b, 0x8f, 0x93, | 843 | 0x85, 0x86, 0x87, 0x88, 0x89, 0x8a, 0x8b, 0x8f, 0x93, |
844 | }; | 844 | }; |
845 | int i; | 845 | int i; |
@@ -856,7 +856,7 @@ static void atkbd_dell_laptop_keymap_fixup(struct atkbd *atkbd) | |||
856 | */ | 856 | */ |
857 | static void atkbd_hp_keymap_fixup(struct atkbd *atkbd) | 857 | static void atkbd_hp_keymap_fixup(struct atkbd *atkbd) |
858 | { | 858 | { |
859 | const unsigned int forced_release_keys[] = { | 859 | static const unsigned int forced_release_keys[] = { |
860 | 0x94, | 860 | 0x94, |
861 | }; | 861 | }; |
862 | int i; | 862 | int i; |
diff --git a/drivers/input/keyboard/bf54x-keys.c b/drivers/input/keyboard/bf54x-keys.c index 19284016e0f4..ee855c5202e8 100644 --- a/drivers/input/keyboard/bf54x-keys.c +++ b/drivers/input/keyboard/bf54x-keys.c | |||
@@ -209,8 +209,8 @@ static int __devinit bfin_kpad_probe(struct platform_device *pdev) | |||
209 | goto out; | 209 | goto out; |
210 | } | 210 | } |
211 | 211 | ||
212 | if (!pdata->debounce_time || !pdata->debounce_time > MAX_MULT || | 212 | if (!pdata->debounce_time || pdata->debounce_time > MAX_MULT || |
213 | !pdata->coldrive_time || !pdata->coldrive_time > MAX_MULT) { | 213 | !pdata->coldrive_time || pdata->coldrive_time > MAX_MULT) { |
214 | printk(KERN_ERR DRV_NAME | 214 | printk(KERN_ERR DRV_NAME |
215 | ": Invalid Debounce/Columdrive Time from pdata\n"); | 215 | ": Invalid Debounce/Columdrive Time from pdata\n"); |
216 | bfin_write_KPAD_MSEL(0xFF0); /* Default MSEL */ | 216 | bfin_write_KPAD_MSEL(0xFF0); /* Default MSEL */ |
diff --git a/drivers/input/keyboard/corgikbd.c b/drivers/input/keyboard/corgikbd.c index 529121be8a98..634af6a8e6b3 100644 --- a/drivers/input/keyboard/corgikbd.c +++ b/drivers/input/keyboard/corgikbd.c | |||
@@ -286,7 +286,7 @@ static int corgikbd_resume(struct platform_device *dev) | |||
286 | #define corgikbd_resume NULL | 286 | #define corgikbd_resume NULL |
287 | #endif | 287 | #endif |
288 | 288 | ||
289 | static int __init corgikbd_probe(struct platform_device *pdev) | 289 | static int __devinit corgikbd_probe(struct platform_device *pdev) |
290 | { | 290 | { |
291 | struct corgikbd *corgikbd; | 291 | struct corgikbd *corgikbd; |
292 | struct input_dev *input_dev; | 292 | struct input_dev *input_dev; |
@@ -366,7 +366,7 @@ static int __init corgikbd_probe(struct platform_device *pdev) | |||
366 | return err; | 366 | return err; |
367 | } | 367 | } |
368 | 368 | ||
369 | static int corgikbd_remove(struct platform_device *pdev) | 369 | static int __devexit corgikbd_remove(struct platform_device *pdev) |
370 | { | 370 | { |
371 | int i; | 371 | int i; |
372 | struct corgikbd *corgikbd = platform_get_drvdata(pdev); | 372 | struct corgikbd *corgikbd = platform_get_drvdata(pdev); |
@@ -386,7 +386,7 @@ static int corgikbd_remove(struct platform_device *pdev) | |||
386 | 386 | ||
387 | static struct platform_driver corgikbd_driver = { | 387 | static struct platform_driver corgikbd_driver = { |
388 | .probe = corgikbd_probe, | 388 | .probe = corgikbd_probe, |
389 | .remove = corgikbd_remove, | 389 | .remove = __devexit_p(corgikbd_remove), |
390 | .suspend = corgikbd_suspend, | 390 | .suspend = corgikbd_suspend, |
391 | .resume = corgikbd_resume, | 391 | .resume = corgikbd_resume, |
392 | .driver = { | 392 | .driver = { |
@@ -395,7 +395,7 @@ static struct platform_driver corgikbd_driver = { | |||
395 | }, | 395 | }, |
396 | }; | 396 | }; |
397 | 397 | ||
398 | static int __devinit corgikbd_init(void) | 398 | static int __init corgikbd_init(void) |
399 | { | 399 | { |
400 | return platform_driver_register(&corgikbd_driver); | 400 | return platform_driver_register(&corgikbd_driver); |
401 | } | 401 | } |
diff --git a/drivers/input/keyboard/omap-keypad.c b/drivers/input/keyboard/omap-keypad.c index 3f3d1198cdb1..058fa8b02c21 100644 --- a/drivers/input/keyboard/omap-keypad.c +++ b/drivers/input/keyboard/omap-keypad.c | |||
@@ -279,7 +279,7 @@ static int omap_kp_resume(struct platform_device *dev) | |||
279 | #define omap_kp_resume NULL | 279 | #define omap_kp_resume NULL |
280 | #endif | 280 | #endif |
281 | 281 | ||
282 | static int __init omap_kp_probe(struct platform_device *pdev) | 282 | static int __devinit omap_kp_probe(struct platform_device *pdev) |
283 | { | 283 | { |
284 | struct omap_kp *omap_kp; | 284 | struct omap_kp *omap_kp; |
285 | struct input_dev *input_dev; | 285 | struct input_dev *input_dev; |
@@ -422,7 +422,7 @@ err1: | |||
422 | return -EINVAL; | 422 | return -EINVAL; |
423 | } | 423 | } |
424 | 424 | ||
425 | static int omap_kp_remove(struct platform_device *pdev) | 425 | static int __devexit omap_kp_remove(struct platform_device *pdev) |
426 | { | 426 | { |
427 | struct omap_kp *omap_kp = platform_get_drvdata(pdev); | 427 | struct omap_kp *omap_kp = platform_get_drvdata(pdev); |
428 | 428 | ||
@@ -454,7 +454,7 @@ static int omap_kp_remove(struct platform_device *pdev) | |||
454 | 454 | ||
455 | static struct platform_driver omap_kp_driver = { | 455 | static struct platform_driver omap_kp_driver = { |
456 | .probe = omap_kp_probe, | 456 | .probe = omap_kp_probe, |
457 | .remove = omap_kp_remove, | 457 | .remove = __devexit_p(omap_kp_remove), |
458 | .suspend = omap_kp_suspend, | 458 | .suspend = omap_kp_suspend, |
459 | .resume = omap_kp_resume, | 459 | .resume = omap_kp_resume, |
460 | .driver = { | 460 | .driver = { |
@@ -463,7 +463,7 @@ static struct platform_driver omap_kp_driver = { | |||
463 | }, | 463 | }, |
464 | }; | 464 | }; |
465 | 465 | ||
466 | static int __devinit omap_kp_init(void) | 466 | static int __init omap_kp_init(void) |
467 | { | 467 | { |
468 | printk(KERN_INFO "OMAP Keypad Driver\n"); | 468 | printk(KERN_INFO "OMAP Keypad Driver\n"); |
469 | return platform_driver_register(&omap_kp_driver); | 469 | return platform_driver_register(&omap_kp_driver); |
diff --git a/drivers/input/keyboard/spitzkbd.c b/drivers/input/keyboard/spitzkbd.c index 9a7371c93b3f..13967422658c 100644 --- a/drivers/input/keyboard/spitzkbd.c +++ b/drivers/input/keyboard/spitzkbd.c | |||
@@ -341,7 +341,7 @@ static int spitzkbd_resume(struct platform_device *dev) | |||
341 | #define spitzkbd_resume NULL | 341 | #define spitzkbd_resume NULL |
342 | #endif | 342 | #endif |
343 | 343 | ||
344 | static int __init spitzkbd_probe(struct platform_device *dev) | 344 | static int __devinit spitzkbd_probe(struct platform_device *dev) |
345 | { | 345 | { |
346 | struct spitzkbd *spitzkbd; | 346 | struct spitzkbd *spitzkbd; |
347 | struct input_dev *input_dev; | 347 | struct input_dev *input_dev; |
@@ -442,7 +442,7 @@ static int __init spitzkbd_probe(struct platform_device *dev) | |||
442 | return err; | 442 | return err; |
443 | } | 443 | } |
444 | 444 | ||
445 | static int spitzkbd_remove(struct platform_device *dev) | 445 | static int __devexit spitzkbd_remove(struct platform_device *dev) |
446 | { | 446 | { |
447 | int i; | 447 | int i; |
448 | struct spitzkbd *spitzkbd = platform_get_drvdata(dev); | 448 | struct spitzkbd *spitzkbd = platform_get_drvdata(dev); |
@@ -468,7 +468,7 @@ static int spitzkbd_remove(struct platform_device *dev) | |||
468 | 468 | ||
469 | static struct platform_driver spitzkbd_driver = { | 469 | static struct platform_driver spitzkbd_driver = { |
470 | .probe = spitzkbd_probe, | 470 | .probe = spitzkbd_probe, |
471 | .remove = spitzkbd_remove, | 471 | .remove = __devexit_p(spitzkbd_remove), |
472 | .suspend = spitzkbd_suspend, | 472 | .suspend = spitzkbd_suspend, |
473 | .resume = spitzkbd_resume, | 473 | .resume = spitzkbd_resume, |
474 | .driver = { | 474 | .driver = { |
@@ -477,7 +477,7 @@ static struct platform_driver spitzkbd_driver = { | |||
477 | }, | 477 | }, |
478 | }; | 478 | }; |
479 | 479 | ||
480 | static int __devinit spitzkbd_init(void) | 480 | static int __init spitzkbd_init(void) |
481 | { | 481 | { |
482 | return platform_driver_register(&spitzkbd_driver); | 482 | return platform_driver_register(&spitzkbd_driver); |
483 | } | 483 | } |