aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/i2c/busses/i2c-parport.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/i2c/busses/i2c-parport.c b/drivers/i2c/busses/i2c-parport.c
index 71a2502fe069..fa506187fbe1 100644
--- a/drivers/i2c/busses/i2c-parport.c
+++ b/drivers/i2c/busses/i2c-parport.c
@@ -232,7 +232,7 @@ static void i2c_parport_detach (struct parport *port)
232 } 232 }
233} 233}
234 234
235static struct parport_driver i2c_driver = { 235static struct parport_driver i2c_parport_driver = {
236 .name = "i2c-parport", 236 .name = "i2c-parport",
237 .attach = i2c_parport_attach, 237 .attach = i2c_parport_attach,
238 .detach = i2c_parport_detach, 238 .detach = i2c_parport_detach,
@@ -250,12 +250,12 @@ static int __init i2c_parport_init(void)
250 type = 0; 250 type = 0;
251 } 251 }
252 252
253 return parport_register_driver(&i2c_driver); 253 return parport_register_driver(&i2c_parport_driver);
254} 254}
255 255
256static void __exit i2c_parport_exit(void) 256static void __exit i2c_parport_exit(void)
257{ 257{
258 parport_unregister_driver(&i2c_driver); 258 parport_unregister_driver(&i2c_parport_driver);
259} 259}
260 260
261MODULE_AUTHOR("Jean Delvare <khali@linux-fr.org>"); 261MODULE_AUTHOR("Jean Delvare <khali@linux-fr.org>");