Skip to content

Commit

Permalink
irqchip/ls-scfg-msi: Fix typo of MSI compatible strings
Browse files Browse the repository at this point in the history
The patch is to fix typo of the Layerscape SCFG MSI dts compatible
strings. "1" is replaced by "l".

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Minghuan Lian <Minghuan.Lian@nxp.com>
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
  • Loading branch information
Minghuan Lian authored and Marc Zyngier committed Aug 31, 2017
1 parent b304605 commit d35b2c9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Required properties:

- compatible: should be "fsl,<soc-name>-msi" to identify
Layerscape PCIe MSI controller block such as:
"fsl,1s1021a-msi"
"fsl,1s1043a-msi"
"fsl,ls1021a-msi"
"fsl,ls1043a-msi"
- msi-controller: indicates that this is a PCIe MSI controller node
- reg: physical base address of the controller and length of memory mapped.
- interrupts: an interrupt to the parent interrupt controller.
Expand All @@ -23,7 +23,7 @@ MSI controller node
Examples:

msi1: msi-controller@1571000 {
compatible = "fsl,1s1043a-msi";
compatible = "fsl,ls1043a-msi";
reg = <0x0 0x1571000 0x0 0x8>,
msi-controller;
interrupts = <0 116 0x4>;
Expand Down
6 changes: 4 additions & 2 deletions drivers/irqchip/irq-ls-scfg-msi.c
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,10 @@ static int ls_scfg_msi_remove(struct platform_device *pdev)
}

static const struct of_device_id ls_scfg_msi_id[] = {
{ .compatible = "fsl,1s1021a-msi", },
{ .compatible = "fsl,1s1043a-msi", },
{ .compatible = "fsl,1s1021a-msi", }, /* a typo */
{ .compatible = "fsl,1s1043a-msi", }, /* a typo */
{ .compatible = "fsl,ls1021a-msi", },
{ .compatible = "fsl,ls1043a-msi", },
{},
};

Expand Down

0 comments on commit d35b2c9

Please sign in to comment.