提交 049c9d45 编写于 作者: K Kumar Gala

[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: NDan Williams <dan.j.williams@intel.com>
Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
上级 96ce1b6d
...@@ -1021,11 +1021,11 @@ const u32 mpc8349_dma_ip_feature = FSL_DMA_IP_83XX | FSL_DMA_LITTLE_ENDIAN; ...@@ -1021,11 +1021,11 @@ const u32 mpc8349_dma_ip_feature = FSL_DMA_IP_83XX | FSL_DMA_LITTLE_ENDIAN;
static struct of_device_id of_fsl_dma_chan_ids[] = { static struct of_device_id of_fsl_dma_chan_ids[] = {
{ {
.compatible = "fsl,mpc8540-dma-channel", .compatible = "fsl,eloplus-dma-channel",
.data = (void *)&mpc8540_dma_ip_feature, .data = (void *)&mpc8540_dma_ip_feature,
}, },
{ {
.compatible = "fsl,mpc8349-dma-channel", .compatible = "fsl,elo-dma-channel",
.data = (void *)&mpc8349_dma_ip_feature, .data = (void *)&mpc8349_dma_ip_feature,
}, },
{} {}
...@@ -1107,8 +1107,8 @@ static int __devinit of_fsl_dma_probe(struct of_device *dev, ...@@ -1107,8 +1107,8 @@ static int __devinit of_fsl_dma_probe(struct of_device *dev,
} }
static struct of_device_id of_fsl_dma_ids[] = { static struct of_device_id of_fsl_dma_ids[] = {
{ .compatible = "fsl,mpc8540-dma", }, { .compatible = "fsl,eloplus-dma", },
{ .compatible = "fsl,mpc8349-dma", }, { .compatible = "fsl,elo-dma", },
{} {}
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册