mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
pcmcia: Convert pcmcia_device_id declarations to const
Saves about 50KB of data. Old/new size of all objects: text data bss dec hex filename 563015 80096 130684 773795 bcea3 (TOTALS) 610916 32256 130632 773804 bceac (TOTALS) Signed-off-by: Joe Perches <[email protected]> Acked-by: Kurt Van Dijck <[email protected]> (for drivers/net/can/softing/softing_cs.c) Signed-off-by: Dominik Brodowski <[email protected]>
This commit is contained in:
parent
e9fb13bfec
commit
25f8f54f6e
46 changed files with 47 additions and 47 deletions
|
|
@ -309,7 +309,7 @@ static void pcmcia_remove_one(struct pcmcia_device *pdev)
|
|||
pcmcia_disable_device(pdev);
|
||||
}
|
||||
|
||||
static struct pcmcia_device_id pcmcia_devices[] = {
|
||||
static const struct pcmcia_device_id pcmcia_devices[] = {
|
||||
PCMCIA_DEVICE_FUNC_ID(4),
|
||||
PCMCIA_DEVICE_MANF_CARD(0x0000, 0x0000), /* Corsair */
|
||||
PCMCIA_DEVICE_MANF_CARD(0x0007, 0x0000), /* Hitachi */
|
||||
|
|
|
|||
Loading…
Reference in a new issue