Commit 6ade2a0b authored by Helge Deller's avatar Helge Deller

parisc/scsi/lasi700: Fix section mismatches

Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent 5898aa13
...@@ -81,7 +81,7 @@ MODULE_LICENSE("GPL"); ...@@ -81,7 +81,7 @@ MODULE_LICENSE("GPL");
#define LASI710_CLOCK 40 #define LASI710_CLOCK 40
#define LASI_SCSI_CORE_OFFSET 0x100 #define LASI_SCSI_CORE_OFFSET 0x100
static struct parisc_device_id lasi700_ids[] = { static const struct parisc_device_id lasi700_ids[] __initconst = {
LASI700_ID_TABLE, LASI700_ID_TABLE,
LASI710_ID_TABLE, LASI710_ID_TABLE,
{ 0 } { 0 }
...@@ -164,11 +164,11 @@ lasi700_driver_remove(struct parisc_device *dev) ...@@ -164,11 +164,11 @@ lasi700_driver_remove(struct parisc_device *dev)
return 0; return 0;
} }
static struct parisc_driver lasi700_driver = { static struct parisc_driver lasi700_driver __refdata = {
.name = "lasi_scsi", .name = "lasi_scsi",
.id_table = lasi700_ids, .id_table = lasi700_ids,
.probe = lasi700_probe, .probe = lasi700_probe,
.remove = lasi700_driver_remove, .remove = __exit_p(lasi700_driver_remove),
}; };
static int __init static int __init
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment