mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by <linux/pci.h> work with const pci_device_id. So mark the non-const structs as const. File size before: text data bss dec hex filename 2775 912 0 3687 e67 realtek/rtlwifi/rtl8723ae/sw.o File size After adding 'const': text data bss dec hex filename 2839 848 0 3687 e67 realtek/rtlwifi/rtl8723ae/sw.o Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> |
||
|---|---|---|
| .. | ||
| btc.h | ||
| def.h | ||
| dm.c | ||
| dm.h | ||
| fw.c | ||
| fw.h | ||
| hal_bt_coexist.c | ||
| hal_bt_coexist.h | ||
| hal_btc.c | ||
| hal_btc.h | ||
| hw.c | ||
| hw.h | ||
| led.c | ||
| led.h | ||
| Makefile | ||
| phy.c | ||
| phy.h | ||
| pwrseq.c | ||
| pwrseq.h | ||
| reg.h | ||
| rf.c | ||
| rf.h | ||
| sw.c | ||
| sw.h | ||
| table.c | ||
| table.h | ||
| trx.c | ||
| trx.h | ||