summaryrefslogtreecommitdiff
path: root/drivers/mtd/maps/ck804xrom.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/maps/ck804xrom.c')
-rw-r--r--drivers/mtd/maps/ck804xrom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/maps/ck804xrom.c b/drivers/mtd/maps/ck804xrom.c
index 0455166f0..4f206a991 100644
--- a/drivers/mtd/maps/ck804xrom.c
+++ b/drivers/mtd/maps/ck804xrom.c
@@ -112,8 +112,8 @@ static void ck804xrom_cleanup(struct ck804xrom_window *window)
}
-static int ck804xrom_init_one(struct pci_dev *pdev,
- const struct pci_device_id *ent)
+static int __init ck804xrom_init_one(struct pci_dev *pdev,
+ const struct pci_device_id *ent)
{
static char *rom_probe_types[] = { "cfi_probe", "jedec_probe", NULL };
u8 byte;