parisc: Fix section mismatches in parisc core drivers

Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
Helge Deller
2017-08-21 22:02:19 +02:00
parent f0973443be
commit cfe4fbfb23
11 changed files with 25 additions and 25 deletions

View File

@@ -1613,14 +1613,14 @@ lba_driver_probe(struct parisc_device *dev)
return 0;
}
static struct parisc_device_id lba_tbl[] = {
static const struct parisc_device_id lba_tbl[] __initconst = {
{ HPHW_BRIDGE, HVERSION_REV_ANY_ID, ELROY_HVERS, 0xa },
{ HPHW_BRIDGE, HVERSION_REV_ANY_ID, MERCURY_HVERS, 0xa },
{ HPHW_BRIDGE, HVERSION_REV_ANY_ID, QUICKSILVER_HVERS, 0xa },
{ 0, }
};
static struct parisc_driver lba_driver = {
static struct parisc_driver lba_driver __refdata = {
.name = MODULE_NAME,
.id_table = lba_tbl,
.probe = lba_driver_probe,