diff options
author | Helge Deller <deller@gmx.de> | 2017-08-21 23:02:19 +0300 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2017-08-22 17:34:36 +0300 |
commit | cfe4fbfb23b3280e9a4d1c3b8438c1558a6a614d (patch) | |
tree | b3df38bb57f5f662bdfb779bab7e65102f780d7f /drivers/parisc/wax.c | |
parent | f0973443bef706b6bccc8a1b99a19b8e389bf9cd (diff) | |
download | linux-cfe4fbfb23b3280e9a4d1c3b8438c1558a6a614d.tar.xz |
parisc: Fix section mismatches in parisc core drivers
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'drivers/parisc/wax.c')
-rw-r--r-- | drivers/parisc/wax.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/parisc/wax.c b/drivers/parisc/wax.c index da9d5ad1353c..6a3e40702b3b 100644 --- a/drivers/parisc/wax.c +++ b/drivers/parisc/wax.c @@ -125,14 +125,14 @@ static int __init wax_init_chip(struct parisc_device *dev) return ret; } -static struct parisc_device_id wax_tbl[] = { +static const struct parisc_device_id wax_tbl[] __initconst = { { HPHW_BA, HVERSION_REV_ANY_ID, HVERSION_ANY_ID, 0x0008e }, { 0, } }; MODULE_DEVICE_TABLE(parisc, wax_tbl); -struct parisc_driver wax_driver = { +struct parisc_driver wax_driver __refdata = { .name = "wax", .id_table = wax_tbl, .probe = wax_init_chip, |