Commit 5898aa13 authored by Helge Deller's avatar Helge Deller

parisc/scsi/zalon: Fix section mismatches

Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent 9e466f10
...@@ -160,14 +160,14 @@ zalon_probe(struct parisc_device *dev) ...@@ -160,14 +160,14 @@ zalon_probe(struct parisc_device *dev)
return error; return error;
} }
static struct parisc_device_id zalon_tbl[] = { static const struct parisc_device_id zalon_tbl[] __initconst = {
{ HPHW_A_DMA, HVERSION_REV_ANY_ID, HVERSION_ANY_ID, 0x00089 }, { HPHW_A_DMA, HVERSION_REV_ANY_ID, HVERSION_ANY_ID, 0x00089 },
{ 0, } { 0, }
}; };
MODULE_DEVICE_TABLE(parisc, zalon_tbl); MODULE_DEVICE_TABLE(parisc, zalon_tbl);
static int zalon_remove(struct parisc_device *dev) static int __exit zalon_remove(struct parisc_device *dev)
{ {
struct Scsi_Host *host = dev_get_drvdata(&dev->dev); struct Scsi_Host *host = dev_get_drvdata(&dev->dev);
...@@ -178,11 +178,11 @@ static int zalon_remove(struct parisc_device *dev) ...@@ -178,11 +178,11 @@ static int zalon_remove(struct parisc_device *dev)
return 0; return 0;
} }
static struct parisc_driver zalon_driver = { static struct parisc_driver zalon_driver __refdata = {
.name = "zalon", .name = "zalon",
.id_table = zalon_tbl, .id_table = zalon_tbl,
.probe = zalon_probe, .probe = zalon_probe,
.remove = zalon_remove, .remove = __exit_p(zalon_remove),
}; };
static int __init zalon7xx_init(void) static int __init zalon7xx_init(void)
......
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