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:
Joe Perches
2011-05-03 19:29:00 -07:00
committed by Dominik Brodowski
parent 37fac4b6e6
commit e9fb13bfec
2 changed files with 4 additions and 4 deletions

View File

@@ -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;
};