Skip to content

Commit

Permalink
dma: tegra: rename driver and compatible to match with dts
Browse files Browse the repository at this point in the history
Rename the compatible name and driver name to match with
tegra dts file and as per clock driver.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
  • Loading branch information
ldewangan authored and Vinod Koul committed Jul 13, 2012
1 parent 4a46ba3 commit cd9092c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/dma/tegra20-apb-dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -1180,10 +1180,10 @@ static struct tegra_dma_chip_data tegra30_dma_chip_data = {

static const struct of_device_id tegra_dma_of_match[] __devinitconst = {
{
.compatible = "nvidia,tegra30-apbdma-new",
.compatible = "nvidia,tegra30-apbdma",
.data = &tegra30_dma_chip_data,
}, {
.compatible = "nvidia,tegra20-apbdma-new",
.compatible = "nvidia,tegra20-apbdma",
.data = &tegra20_dma_chip_data,
}, {
},
Expand Down Expand Up @@ -1398,7 +1398,7 @@ static const struct dev_pm_ops tegra_dma_dev_pm_ops __devinitconst = {

static struct platform_driver tegra_dmac_driver = {
.driver = {
.name = "tegra20-apbdma",
.name = "tegra-apbdma",
.owner = THIS_MODULE,
.pm = &tegra_dma_dev_pm_ops,
.of_match_table = of_match_ptr(tegra_dma_of_match),
Expand Down

0 comments on commit cd9092c

Please sign in to comment.