X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fatm%2Fhorizon.c;h=4dc10105d61023311586f6f930950d4dc04d44ea;hb=40b20c257a13c5a526ac540bc5e43d0fdf29792a;hp=f59349206dd29f9a918cad1531dfc26ce07e91a5;hpb=5d347c8abaab1e8c24272a53099c22482855783e;p=linux-2.6 diff --git a/drivers/atm/horizon.c b/drivers/atm/horizon.c index f59349206d..4dc10105d6 100644 --- a/drivers/atm/horizon.c +++ b/drivers/atm/horizon.c @@ -1789,7 +1789,7 @@ static inline void CLOCK_IT (const hrz_dev *dev, u32 ctrl) WRITE_IT_WAIT(dev, ctrl | SEEPROM_SK); } -static u16 __init read_bia (const hrz_dev * dev, u16 addr) +static u16 __devinit read_bia (const hrz_dev * dev, u16 addr) { u32 ctrl = rd_regl (dev, CONTROL_0_REG); @@ -2932,8 +2932,8 @@ static int __init hrz_module_init (void) { static void __exit hrz_module_exit (void) { PRINTD (DBG_FLOW, "cleanup_module"); - - return pci_unregister_driver(&hrz_driver); + + pci_unregister_driver(&hrz_driver); } module_init(hrz_module_init);