diff options
author | Joe Perches <joe@perches.com> | 2011-05-03 19:29:00 -0700 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2011-05-06 07:46:15 +0200 |
commit | e9fb13bfec7e017130ddc5c1b5466340470f4900 (patch) | |
tree | 58a742ab339fb1a2f47be774c1137e220b6b7dd8 /include/pcmcia | |
parent | 37fac4b6e6fde4ea4f5fd76948ba6f3e5dc63c01 (diff) | |
download | kernel_samsung_smdk4412-e9fb13bfec7e017130ddc5c1b5466340470f4900.zip kernel_samsung_smdk4412-e9fb13bfec7e017130ddc5c1b5466340470f4900.tar.gz kernel_samsung_smdk4412-e9fb13bfec7e017130ddc5c1b5466340470f4900.tar.bz2 |
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>
Diffstat (limited to 'include/pcmcia')
-rw-r--r-- | include/pcmcia/ds.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/pcmcia/ds.h b/include/pcmcia/ds.h index 3fd5064..7b82080 100644 --- a/include/pcmcia/ds.h +++ b/include/pcmcia/ds.h @@ -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; }; |