parisc/scsi/lasi700: Fix section mismatches
authorHelge Deller <deller@gmx.de>
Mon, 21 Aug 2017 19:57:39 +0000 (21:57 +0200)
committerHelge Deller <deller@gmx.de>
Tue, 22 Aug 2017 14:34:36 +0000 (16:34 +0200)
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/scsi/lasi700.c

index 5c4ded997265d4833f63039c17edf93ba6ecbd12..dc839279bbd9eb8fce5c8e2f4815cc397d151e2d 100644 (file)
@@ -81,7 +81,7 @@ MODULE_LICENSE("GPL");
 #define LASI710_CLOCK  40
 #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,
        LASI710_ID_TABLE,
        { 0 }
@@ -164,11 +164,11 @@ lasi700_driver_remove(struct parisc_device *dev)
        return 0;
 }
 
-static struct parisc_driver lasi700_driver = {
+static struct parisc_driver lasi700_driver __refdata = {
        .name =         "lasi_scsi",
        .id_table =     lasi700_ids,
        .probe =        lasi700_probe,
-       .remove =       lasi700_driver_remove,
+       .remove =       __exit_p(lasi700_driver_remove),
 };
 
 static int __init