Commit 19d448a0 authored by Xiang wangx's avatar Xiang wangx Committed by Michal Simek

microblaze: add const to of_device_id

struct of_device_id should normally be const.
Signed-off-by: default avatarXiang wangx <wangxiang@cdjrlc.com>
Link: https://lore.kernel.org/r/20211212141248.7134-1-wangxiang@cdjrlc.comSigned-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent 93b33bb6
......@@ -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", },
{}
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment