aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-pxa-pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c/busses/i2c-pxa-pci.c')
-rw-r--r--drivers/i2c/busses/i2c-pxa-pci.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/i2c/busses/i2c-pxa-pci.c b/drivers/i2c/busses/i2c-pxa-pci.c
index a05817980556..4dc9bef17d77 100644
--- a/drivers/i2c/busses/i2c-pxa-pci.c
+++ b/drivers/i2c/busses/i2c-pxa-pci.c
@@ -163,17 +163,7 @@ static struct pci_driver ce4100_i2c_driver = {
163 .remove = __devexit_p(ce4100_i2c_remove), 163 .remove = __devexit_p(ce4100_i2c_remove),
164}; 164};
165 165
166static int __init ce4100_i2c_init(void) 166module_pci_driver(ce4100_i2c_driver);
167{
168 return pci_register_driver(&ce4100_i2c_driver);
169}
170module_init(ce4100_i2c_init);
171
172static void __exit ce4100_i2c_exit(void)
173{
174 pci_unregister_driver(&ce4100_i2c_driver);
175}
176module_exit(ce4100_i2c_exit);
177 167
178MODULE_DESCRIPTION("CE4100 PCI-I2C glue code for PXA's driver"); 168MODULE_DESCRIPTION("CE4100 PCI-I2C glue code for PXA's driver");
179MODULE_LICENSE("GPL v2"); 169MODULE_LICENSE("GPL v2");