aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/atm/horizon.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/atm/horizon.c')
-rw-r--r--drivers/atm/horizon.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/drivers/atm/horizon.c b/drivers/atm/horizon.c
index 7d01c2a7525..1dc0519333f 100644
--- a/drivers/atm/horizon.c
+++ b/drivers/atm/horizon.c
@@ -1789,7 +1789,7 @@ static void CLOCK_IT (const hrz_dev *dev, u32 ctrl)
1789 WRITE_IT_WAIT(dev, ctrl | SEEPROM_SK); 1789 WRITE_IT_WAIT(dev, ctrl | SEEPROM_SK);
1790} 1790}
1791 1791
1792static u16 __devinit read_bia (const hrz_dev * dev, u16 addr) 1792static u16 read_bia(const hrz_dev *dev, u16 addr)
1793{ 1793{
1794 u32 ctrl = rd_regl (dev, CONTROL_0_REG); 1794 u32 ctrl = rd_regl (dev, CONTROL_0_REG);
1795 1795
@@ -1845,7 +1845,8 @@ static u16 __devinit read_bia (const hrz_dev * dev, u16 addr)
1845 1845
1846/********** initialise a card **********/ 1846/********** initialise a card **********/
1847 1847
1848static int __devinit hrz_init (hrz_dev * dev) { 1848static int hrz_init(hrz_dev *dev)
1849{
1849 int onefivefive; 1850 int onefivefive;
1850 1851
1851 u16 chan; 1852 u16 chan;
@@ -2681,7 +2682,8 @@ static const struct atmdev_ops hrz_ops = {
2681 .owner = THIS_MODULE, 2682 .owner = THIS_MODULE,
2682}; 2683};
2683 2684
2684static int __devinit hrz_probe(struct pci_dev *pci_dev, const struct pci_device_id *pci_ent) 2685static int hrz_probe(struct pci_dev *pci_dev,
2686 const struct pci_device_id *pci_ent)
2685{ 2687{
2686 hrz_dev * dev; 2688 hrz_dev * dev;
2687 int err = 0; 2689 int err = 0;
@@ -2836,7 +2838,7 @@ out_disable:
2836 goto out; 2838 goto out;
2837} 2839}
2838 2840
2839static void __devexit hrz_remove_one(struct pci_dev *pci_dev) 2841static void hrz_remove_one(struct pci_dev *pci_dev)
2840{ 2842{
2841 hrz_dev *dev; 2843 hrz_dev *dev;
2842 2844
@@ -2901,7 +2903,7 @@ MODULE_DEVICE_TABLE(pci, hrz_pci_tbl);
2901static struct pci_driver hrz_driver = { 2903static struct pci_driver hrz_driver = {
2902 .name = "horizon", 2904 .name = "horizon",
2903 .probe = hrz_probe, 2905 .probe = hrz_probe,
2904 .remove = __devexit_p(hrz_remove_one), 2906 .remove = hrz_remove_one,
2905 .id_table = hrz_pci_tbl, 2907 .id_table = hrz_pci_tbl,
2906}; 2908};
2907 2909