diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ata/pata_mpc52xx.c | 6 | ||||
-rw-r--r-- | drivers/net/fec_mpc52xx.c | 6 | ||||
-rw-r--r-- | drivers/net/fec_mpc52xx_phy.c | 8 | ||||
-rw-r--r-- | drivers/serial/mpc52xx_uart.c | 4 | ||||
-rw-r--r-- | drivers/spi/mpc52xx_psc_spi.c | 5 | ||||
-rw-r--r-- | drivers/usb/host/ohci-ppc-of.c | 2 |
6 files changed, 15 insertions, 16 deletions
diff --git a/drivers/ata/pata_mpc52xx.c b/drivers/ata/pata_mpc52xx.c index 50c56e2814c..1a7ca37168b 100644 --- a/drivers/ata/pata_mpc52xx.c +++ b/drivers/ata/pata_mpc52xx.c | |||
@@ -494,10 +494,8 @@ mpc52xx_ata_resume(struct of_device *op) | |||
494 | 494 | ||
495 | 495 | ||
496 | static struct of_device_id mpc52xx_ata_of_match[] = { | 496 | static struct of_device_id mpc52xx_ata_of_match[] = { |
497 | { | 497 | { .compatible = "fsl,mpc5200-ata", }, |
498 | .type = "ata", | 498 | { .compatible = "mpc5200-ata", }, |
499 | .compatible = "mpc5200-ata", | ||
500 | }, | ||
501 | {}, | 499 | {}, |
502 | }; | 500 | }; |
503 | 501 | ||
diff --git a/drivers/net/fec_mpc52xx.c b/drivers/net/fec_mpc52xx.c index f91ee700e60..58b71e60204 100644 --- a/drivers/net/fec_mpc52xx.c +++ b/drivers/net/fec_mpc52xx.c | |||
@@ -1057,10 +1057,8 @@ static int mpc52xx_fec_of_resume(struct of_device *op) | |||
1057 | #endif | 1057 | #endif |
1058 | 1058 | ||
1059 | static struct of_device_id mpc52xx_fec_match[] = { | 1059 | static struct of_device_id mpc52xx_fec_match[] = { |
1060 | { | 1060 | { .type = "network", .compatible = "fsl,mpc5200-fec", }, |
1061 | .type = "network", | 1061 | { .type = "network", .compatible = "mpc5200-fec", }, |
1062 | .compatible = "mpc5200-fec", | ||
1063 | }, | ||
1064 | { } | 1062 | { } |
1065 | }; | 1063 | }; |
1066 | 1064 | ||
diff --git a/drivers/net/fec_mpc52xx_phy.c b/drivers/net/fec_mpc52xx_phy.c index ba6e8b218e0..1837584c450 100644 --- a/drivers/net/fec_mpc52xx_phy.c +++ b/drivers/net/fec_mpc52xx_phy.c | |||
@@ -177,11 +177,9 @@ static int mpc52xx_fec_mdio_remove(struct of_device *of) | |||
177 | 177 | ||
178 | 178 | ||
179 | static struct of_device_id mpc52xx_fec_mdio_match[] = { | 179 | static struct of_device_id mpc52xx_fec_mdio_match[] = { |
180 | { | 180 | { .compatible = "fsl,mpc5200b-mdio", }, |
181 | .type = "mdio", | 181 | { .compatible = "mpc5200b-fec-phy", }, |
182 | .compatible = "mpc5200b-fec-phy", | 182 | {} |
183 | }, | ||
184 | {}, | ||
185 | }; | 183 | }; |
186 | 184 | ||
187 | struct of_platform_driver mpc52xx_fec_mdio_driver = { | 185 | struct of_platform_driver mpc52xx_fec_mdio_driver = { |
diff --git a/drivers/serial/mpc52xx_uart.c b/drivers/serial/mpc52xx_uart.c index 1e3721a0eef..3c4d29e59b2 100644 --- a/drivers/serial/mpc52xx_uart.c +++ b/drivers/serial/mpc52xx_uart.c | |||
@@ -130,7 +130,9 @@ static irqreturn_t mpc52xx_uart_int(int irq, void *dev_id); | |||
130 | 130 | ||
131 | #if defined(CONFIG_PPC_MERGE) | 131 | #if defined(CONFIG_PPC_MERGE) |
132 | static struct of_device_id mpc52xx_uart_of_match[] = { | 132 | static struct of_device_id mpc52xx_uart_of_match[] = { |
133 | { .type = "serial", .compatible = "mpc5200-psc-uart", }, | 133 | { .type = "serial", .compatible = "fsl,mpc5200-psc-uart", }, |
134 | { .type = "serial", .compatible = "mpc5200-psc-uart", }, /* lite5200 */ | ||
135 | { .type = "serial", .compatible = "mpc5200-serial", }, /* efika */ | ||
134 | {}, | 136 | {}, |
135 | }; | 137 | }; |
136 | #endif | 138 | #endif |
diff --git a/drivers/spi/mpc52xx_psc_spi.c b/drivers/spi/mpc52xx_psc_spi.c index d398c93195e..a3ebc632a47 100644 --- a/drivers/spi/mpc52xx_psc_spi.c +++ b/drivers/spi/mpc52xx_psc_spi.c | |||
@@ -628,8 +628,9 @@ static int __exit mpc52xx_psc_spi_of_remove(struct of_device *op) | |||
628 | } | 628 | } |
629 | 629 | ||
630 | static struct of_device_id mpc52xx_psc_spi_of_match[] = { | 630 | static struct of_device_id mpc52xx_psc_spi_of_match[] = { |
631 | { .type = "spi", .compatible = "mpc5200-psc-spi", }, | 631 | { .compatible = "fsl,mpc5200-psc-spi", }, |
632 | {}, | 632 | { .compatible = "mpc5200-psc-spi", }, /* old */ |
633 | {} | ||
633 | }; | 634 | }; |
634 | 635 | ||
635 | MODULE_DEVICE_TABLE(of, mpc52xx_psc_spi_of_match); | 636 | MODULE_DEVICE_TABLE(of, mpc52xx_psc_spi_of_match); |
diff --git a/drivers/usb/host/ohci-ppc-of.c b/drivers/usb/host/ohci-ppc-of.c index 0c3e6b790b7..a6725279122 100644 --- a/drivers/usb/host/ohci-ppc-of.c +++ b/drivers/usb/host/ohci-ppc-of.c | |||
@@ -136,6 +136,8 @@ ohci_hcd_ppc_of_probe(struct of_device *op, const struct of_device_id *match) | |||
136 | ohci = hcd_to_ohci(hcd); | 136 | ohci = hcd_to_ohci(hcd); |
137 | if (is_bigendian) { | 137 | if (is_bigendian) { |
138 | ohci->flags |= OHCI_QUIRK_BE_MMIO | OHCI_QUIRK_BE_DESC; | 138 | ohci->flags |= OHCI_QUIRK_BE_MMIO | OHCI_QUIRK_BE_DESC; |
139 | if (of_device_is_compatible(dn, "fsl,mpc5200-ohci")) | ||
140 | ohci->flags |= OHCI_QUIRK_FRAME_NO; | ||
139 | if (of_device_is_compatible(dn, "mpc5200-ohci")) | 141 | if (of_device_is_compatible(dn, "mpc5200-ohci")) |
140 | ohci->flags |= OHCI_QUIRK_FRAME_NO; | 142 | ohci->flags |= OHCI_QUIRK_FRAME_NO; |
141 | } | 143 | } |