diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2016-05-02 21:08:21 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-05-02 21:08:21 +0200 |
commit | e6f1fef04c253955004efea35aea2e4bc59f49b6 (patch) | |
tree | 7a41cd63795fc10dbeba41ccb33efae5f3582807 /arch/arm/boot/dts/imx6qp.dtsi | |
parent | PCI: imx6: Add DT property for link gen, default to Gen1 (diff) | |
download | linux-e6f1fef04c253955004efea35aea2e4bc59f49b6.tar.xz linux-e6f1fef04c253955004efea35aea2e4bc59f49b6.zip |
PCI: imx6: Use enum instead of bool for variant indicator
Use enumerated type instead of a boolean flag to specify the variant of
the PCIe IP block (6Q, 6SX, etc). This patch has zero functional impact,
however it makes the code easier to extend for the case of more than 2
possible variants of an IP block (of which there are).
[bhelgaas: rewrap comment, remove extra blank line]
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Diffstat (limited to 'arch/arm/boot/dts/imx6qp.dtsi')
0 files changed, 0 insertions, 0 deletions