diff options
Diffstat (limited to 'drivers/input/serio/xilinx_ps2.c')
| -rw-r--r-- | drivers/input/serio/xilinx_ps2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/serio/xilinx_ps2.c b/drivers/input/serio/xilinx_ps2.c index e2c028d2638f..bb14449fb022 100644 --- a/drivers/input/serio/xilinx_ps2.c +++ b/drivers/input/serio/xilinx_ps2.c | |||
| @@ -232,7 +232,7 @@ static void sxps2_close(struct serio *pserio) | |||
| 232 | * It returns 0, if the driver is bound to the PS/2 device, or a negative | 232 | * It returns 0, if the driver is bound to the PS/2 device, or a negative |
| 233 | * value if there is an error. | 233 | * value if there is an error. |
| 234 | */ | 234 | */ |
| 235 | static int __devinit xps2_of_probe(struct of_device *ofdev, | 235 | static int __devinit xps2_of_probe(struct platform_device *ofdev, |
| 236 | const struct of_device_id *match) | 236 | const struct of_device_id *match) |
| 237 | { | 237 | { |
| 238 | struct resource r_irq; /* Interrupt resources */ | 238 | struct resource r_irq; /* Interrupt resources */ |
| @@ -332,7 +332,7 @@ failed1: | |||
| 332 | * if the driver module is being unloaded. It frees any resources allocated to | 332 | * if the driver module is being unloaded. It frees any resources allocated to |
| 333 | * the device. | 333 | * the device. |
| 334 | */ | 334 | */ |
| 335 | static int __devexit xps2_of_remove(struct of_device *of_dev) | 335 | static int __devexit xps2_of_remove(struct platform_device *of_dev) |
| 336 | { | 336 | { |
| 337 | struct device *dev = &of_dev->dev; | 337 | struct device *dev = &of_dev->dev; |
| 338 | struct xps2data *drvdata = dev_get_drvdata(dev); | 338 | struct xps2data *drvdata = dev_get_drvdata(dev); |
