summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/dahdi/ap400/ap400_drv.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/drivers/dahdi/ap400/ap400_drv.c b/drivers/dahdi/ap400/ap400_drv.c
index aaf3f48..5153af0 100644
--- a/drivers/dahdi/ap400/ap400_drv.c
+++ b/drivers/dahdi/ap400/ap400_drv.c
@@ -1912,7 +1912,7 @@ static int __devinit ap4_launch(struct ap4 *wc)
}
-int ap4xx_liu_reset(struct ap4 *wc)
+static int ap4xx_liu_reset(struct ap4 *wc)
{
unsigned int jiffies_hold = jiffies;
*(wc->membase+AP_LEDS_REG) |= AP_LIU_RESET_BIT;
@@ -1922,7 +1922,7 @@ int ap4xx_liu_reset(struct ap4 *wc)
}
-int ap4xx_bus_test(struct ap4 *wc)
+static int ap4xx_bus_test(struct ap4 *wc)
{
int tst_result = 0;
unsigned int val;
@@ -2314,16 +2314,14 @@ static struct pci_device_id ap4_pci_tbl[] __devinitdata =
static struct pci_driver ap4_driver = {
- name: "Unified ap4xx driver",
- probe: ap4_init_one,
+ .name = "Unified ap4xx driver",
+ .probe = ap4_init_one,
#ifdef LINUX26
- remove: __devexit_p(ap4_remove_one),
+ .remove = __devexit_p(ap4_remove_one),
#else
- remove: ap4_remove_one,
+ .remove = ap4_remove_one,
#endif
- suspend: NULL,
- resume: NULL,
- id_table: ap4_pci_tbl,
+ .id_table = ap4_pci_tbl,
};
static int __init ap4_init(void)