diff options
Diffstat (limited to 'drivers/mtd/maps/pci.c')
-rw-r--r-- | drivers/mtd/maps/pci.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/mtd/maps/pci.c b/drivers/mtd/maps/pci.c index ed82914966f5..c3aebd5da5d6 100644 --- a/drivers/mtd/maps/pci.c +++ b/drivers/mtd/maps/pci.c | |||
@@ -253,8 +253,7 @@ static struct pci_device_id mtd_pci_ids[] = { | |||
253 | * Generic code follows. | 253 | * Generic code follows. |
254 | */ | 254 | */ |
255 | 255 | ||
256 | static int | 256 | static int mtd_pci_probe(struct pci_dev *dev, const struct pci_device_id *id) |
257 | mtd_pci_probe(struct pci_dev *dev, const struct pci_device_id *id) | ||
258 | { | 257 | { |
259 | struct mtd_pci_info *info = (struct mtd_pci_info *)id->driver_data; | 258 | struct mtd_pci_info *info = (struct mtd_pci_info *)id->driver_data; |
260 | struct map_pci_info *map = NULL; | 259 | struct map_pci_info *map = NULL; |
@@ -308,8 +307,7 @@ out: | |||
308 | return err; | 307 | return err; |
309 | } | 308 | } |
310 | 309 | ||
311 | static void | 310 | static void mtd_pci_remove(struct pci_dev *dev) |
312 | mtd_pci_remove(struct pci_dev *dev) | ||
313 | { | 311 | { |
314 | struct mtd_info *mtd = pci_get_drvdata(dev); | 312 | struct mtd_info *mtd = pci_get_drvdata(dev); |
315 | struct map_pci_info *map = mtd->priv; | 313 | struct map_pci_info *map = mtd->priv; |