pcmcia: Make declaration and uses of struct pcmcia_device_id const
Const allows tables to be moved into text sections. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
This commit is contained in:

committed by
Dominik Brodowski

parent
37fac4b6e6
commit
e9fb13bfec
@@ -56,7 +56,7 @@ struct pcmcia_driver {
|
||||
int (*resume) (struct pcmcia_device *dev);
|
||||
|
||||
struct module *owner;
|
||||
struct pcmcia_device_id *id_table;
|
||||
const struct pcmcia_device_id *id_table;
|
||||
struct device_driver drv;
|
||||
struct pcmcia_dynids dynids;
|
||||
};
|
||||
|
Reference in New Issue
Block a user