mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
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 <[email protected]> Signed-off-by: Dominik Brodowski <[email protected]>
This commit is contained in:
parent
37fac4b6e6
commit
e9fb13bfec
2 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue