aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/input/serio/altera_ps2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/input/serio/altera_ps2.c b/drivers/input/serio/altera_ps2.c
index b328185b1cc2..457da76d4c83 100644
--- a/drivers/input/serio/altera_ps2.c
+++ b/drivers/input/serio/altera_ps2.c
@@ -79,7 +79,7 @@ static void altera_ps2_close(struct serio *io)
79/* 79/*
80 * Add one device to this driver. 80 * Add one device to this driver.
81 */ 81 */
82static int altera_ps2_probe(struct platform_device *pdev) 82static int __devinit altera_ps2_probe(struct platform_device *pdev)
83{ 83{
84 struct ps2if *ps2if; 84 struct ps2if *ps2if;
85 struct serio *serio; 85 struct serio *serio;
@@ -155,7 +155,7 @@ static int altera_ps2_probe(struct platform_device *pdev)
155/* 155/*
156 * Remove one device from this driver. 156 * Remove one device from this driver.
157 */ 157 */
158static int altera_ps2_remove(struct platform_device *pdev) 158static int __devexit altera_ps2_remove(struct platform_device *pdev)
159{ 159{
160 struct ps2if *ps2if = platform_get_drvdata(pdev); 160 struct ps2if *ps2if = platform_get_drvdata(pdev);
161 161
@@ -175,7 +175,7 @@ static int altera_ps2_remove(struct platform_device *pdev)
175 */ 175 */
176static struct platform_driver altera_ps2_driver = { 176static struct platform_driver altera_ps2_driver = {
177 .probe = altera_ps2_probe, 177 .probe = altera_ps2_probe,
178 .remove = altera_ps2_remove, 178 .remove = __devexit_p(altera_ps2_remove),
179 .driver = { 179 .driver = {
180 .name = DRV_NAME, 180 .name = DRV_NAME,
181 .owner = THIS_MODULE, 181 .owner = THIS_MODULE,