]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerJiri Slaby <jslaby@suse.cz>
Thu, 9 Apr 2015 12:14:10 +0000 (14:14 +0200)
commit52b64c8b06f3d59e54a22aa37aca20f7bf67481a
tree399f6217adee7e69bff6db6d3b8f1842d5b91fd6
parentb5992b8c3c8b350763d33b0b044a098af2632bc9
dmaengine: dw: append MODULE_ALIAS for platform driver

commit a104a45ba7a51b5b4c5e8437020d9d48edf22f89 upstream.

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>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/dma/dw/platform.c