dmaengine: dw: append MODULE_ALIAS for platform driver
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 9 Mar 2015 10:16:42 +0000 (12:16 +0200)
committerVinod Koul <vinod.koul@intel.com>
Mon, 16 Mar 2015 16:37:03 +0000 (22:07 +0530)
commita104a45ba7a51b5b4c5e8437020d9d48edf22f89
treeb182f75689075e07e32c99559cf6c3aaeedec8db
parent855832e47c1e51db701786ed76f8a9fec323aad6
dmaengine: dw: append MODULE_ALIAS for platform driver

The commit 9cade1a46c77 (dma: dw: split driver to library part and platform
code) introduced a separate platform driver but missed to add a
MODULE_ALIAS("platform:dw_dmac"); to that module.

The patch adds this to get driver loaded automatically if platform device is
registered.

Reported-by: "Blin, Jerome" <jerome.blin@intel.com>
Fixes: 9cade1a46c77 (dma: dw: split driver to library part and platform code)
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/dw/platform.c