diff options
author | Helge Deller <deller@gmx.de> | 2017-08-21 22:02:19 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2017-08-22 16:34:36 +0200 |
commit | cfe4fbfb23b3280e9a4d1c3b8438c1558a6a614d (patch) | |
tree | b3df38bb57f5f662bdfb779bab7e65102f780d7f /drivers/parisc/ccio-rm-dma.c | |
parent | parisc/parport_gsc: Fix section mismatches (diff) | |
download | linux-cfe4fbfb23b3280e9a4d1c3b8438c1558a6a614d.tar.xz linux-cfe4fbfb23b3280e9a4d1c3b8438c1558a6a614d.zip |
parisc: Fix section mismatches in parisc core drivers
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'drivers/parisc/ccio-rm-dma.c')
-rw-r--r-- | drivers/parisc/ccio-rm-dma.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/parisc/ccio-rm-dma.c b/drivers/parisc/ccio-rm-dma.c index 1bf988010855..df7932af48b7 100644 --- a/drivers/parisc/ccio-rm-dma.c +++ b/drivers/parisc/ccio-rm-dma.c @@ -163,7 +163,7 @@ static struct pci_dma_ops ccio_ops = { ** If so, initialize the chip and tell other partners in crime they ** have work to do. */ -static int +static int __init ccio_probe(struct parisc_device *dev) { printk(KERN_INFO "%s found %s at 0x%lx\n", MODULE_NAME, @@ -184,13 +184,13 @@ ccio_probe(struct parisc_device *dev) return 0; } -static struct parisc_device_id ccio_tbl[] = { +static const struct parisc_device_id ccio_tbl[] __initconst = { { HPHW_BCPORT, HVERSION_REV_ANY_ID, U2_BC_GSC, 0xc }, { HPHW_BCPORT, HVERSION_REV_ANY_ID, UTURN_BC_GSC, 0xc }, { 0, } }; -static struct parisc_driver ccio_driver = { +static struct parisc_driver ccio_driver __refdata = { .name = "U2/Uturn", .id_table = ccio_tbl, .probe = ccio_probe, |