Commit 049c9d45531d9825bf737891163a794fca1421c5

Authored by Kumar Gala
1 parent 96ce1b6dc5

[POWERPC] fsldma: Use compatiable binding as spec

Documentation/powerpc/booting-without-of.txt specifies the
compatiables we should bind to for this driver (elo, eloplus).
Use these instead of the extremely specific 'mpc8540' and 'mpc8349'
compatiables.

Acked-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>

Showing 1 changed file with 4 additions and 4 deletions Side-by-side Diff

drivers/dma/fsldma.c
... ... @@ -1021,11 +1021,11 @@
1021 1021  
1022 1022 static struct of_device_id of_fsl_dma_chan_ids[] = {
1023 1023 {
1024   - .compatible = "fsl,mpc8540-dma-channel",
  1024 + .compatible = "fsl,eloplus-dma-channel",
1025 1025 .data = (void *)&mpc8540_dma_ip_feature,
1026 1026 },
1027 1027 {
1028   - .compatible = "fsl,mpc8349-dma-channel",
  1028 + .compatible = "fsl,elo-dma-channel",
1029 1029 .data = (void *)&mpc8349_dma_ip_feature,
1030 1030 },
1031 1031 {}
... ... @@ -1107,8 +1107,8 @@
1107 1107 }
1108 1108  
1109 1109 static struct of_device_id of_fsl_dma_ids[] = {
1110   - { .compatible = "fsl,mpc8540-dma", },
1111   - { .compatible = "fsl,mpc8349-dma", },
  1110 + { .compatible = "fsl,eloplus-dma", },
  1111 + { .compatible = "fsl,elo-dma", },
1112 1112 {}
1113 1113 };
1114 1114