diff options
author | Xiang wangx <wangxiang@cdjrlc.com> | 2021-12-12 22:12:48 +0800 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2022-01-24 13:11:07 +0100 |
commit | 19d448a04e00388bdb039cdd46a23b028f604eb4 (patch) | |
tree | 9d52ac0daaebcf50861c5a1f03636bedc5c65821 /arch/microblaze/pci | |
parent | 93b33bb6a5e5e8d29376f91199f30900c8d58b71 (diff) |
microblaze: add const to of_device_id
struct of_device_id should normally be const.
Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com>
Link: https://lore.kernel.org/r/20211212141248.7134-1-wangxiang@cdjrlc.com
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/microblaze/pci')
-rw-r--r-- | arch/microblaze/pci/xilinx_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/pci/xilinx_pci.c b/arch/microblaze/pci/xilinx_pci.c index b800909ddccf..f4cb86fffcee 100644 --- a/arch/microblaze/pci/xilinx_pci.c +++ b/arch/microblaze/pci/xilinx_pci.c @@ -27,7 +27,7 @@ #define PCI_HOST_ENABLE_CMD (PCI_COMMAND_SERR | PCI_COMMAND_PARITY | \ PCI_COMMAND_MASTER | PCI_COMMAND_MEMORY) -static struct of_device_id xilinx_pci_match[] = { +static const struct of_device_id xilinx_pci_match[] = { { .compatible = "xlnx,plbv46-pci-1.03.a", }, {} }; |