diff options
Diffstat (limited to 'drivers/input/serio/xilinx_ps2.c')
| -rw-r--r-- | drivers/input/serio/xilinx_ps2.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/input/serio/xilinx_ps2.c b/drivers/input/serio/xilinx_ps2.c index 1e983bec7d86..17be85948ffd 100644 --- a/drivers/input/serio/xilinx_ps2.c +++ b/drivers/input/serio/xilinx_ps2.c | |||
| @@ -233,7 +233,7 @@ static void sxps2_close(struct serio *pserio) | |||
| 233 | * It returns 0, if the driver is bound to the PS/2 device, or a negative | 233 | * It returns 0, if the driver is bound to the PS/2 device, or a negative |
| 234 | * value if there is an error. | 234 | * value if there is an error. |
| 235 | */ | 235 | */ |
| 236 | static int __devinit xps2_of_probe(struct platform_device *ofdev) | 236 | static int xps2_of_probe(struct platform_device *ofdev) |
| 237 | { | 237 | { |
| 238 | struct resource r_irq; /* Interrupt resources */ | 238 | struct resource r_irq; /* Interrupt resources */ |
| 239 | struct resource r_mem; /* IO mem resources */ | 239 | struct resource r_mem; /* IO mem resources */ |
| @@ -333,7 +333,7 @@ failed1: | |||
| 333 | * if the driver module is being unloaded. It frees any resources allocated to | 333 | * if the driver module is being unloaded. It frees any resources allocated to |
| 334 | * the device. | 334 | * the device. |
| 335 | */ | 335 | */ |
| 336 | static int __devexit xps2_of_remove(struct platform_device *of_dev) | 336 | static int xps2_of_remove(struct platform_device *of_dev) |
| 337 | { | 337 | { |
| 338 | struct xps2data *drvdata = platform_get_drvdata(of_dev); | 338 | struct xps2data *drvdata = platform_get_drvdata(of_dev); |
| 339 | struct resource r_mem; /* IO mem resources */ | 339 | struct resource r_mem; /* IO mem resources */ |
| @@ -355,7 +355,7 @@ static int __devexit xps2_of_remove(struct platform_device *of_dev) | |||
| 355 | } | 355 | } |
| 356 | 356 | ||
| 357 | /* Match table for of_platform binding */ | 357 | /* Match table for of_platform binding */ |
| 358 | static const struct of_device_id xps2_of_match[] __devinitconst = { | 358 | static const struct of_device_id xps2_of_match[] = { |
| 359 | { .compatible = "xlnx,xps-ps2-1.00.a", }, | 359 | { .compatible = "xlnx,xps-ps2-1.00.a", }, |
| 360 | { /* end of list */ }, | 360 | { /* end of list */ }, |
| 361 | }; | 361 | }; |
| @@ -368,7 +368,7 @@ static struct platform_driver xps2_of_driver = { | |||
| 368 | .of_match_table = xps2_of_match, | 368 | .of_match_table = xps2_of_match, |
| 369 | }, | 369 | }, |
| 370 | .probe = xps2_of_probe, | 370 | .probe = xps2_of_probe, |
| 371 | .remove = __devexit_p(xps2_of_remove), | 371 | .remove = xps2_of_remove, |
| 372 | }; | 372 | }; |
| 373 | module_platform_driver(xps2_of_driver); | 373 | module_platform_driver(xps2_of_driver); |
| 374 | 374 | ||
