Skip to content

Commit

Permalink
microblaze: add const to of_device_id
Browse files Browse the repository at this point in the history
struct of_device_id should normally be const.

Signed-off-by: Xiang wangx <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michal Simek <[email protected]>
  • Loading branch information
Xiang wangx authored and Michal Simek committed Jan 24, 2022
1 parent 93b33bb commit 19d448a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/microblaze/pci/xilinx_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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", },
{}
};
Expand Down

0 comments on commit 19d448a

Please sign in to comment.