diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2013-07-15 16:04:37 +0400 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-08-05 08:02:26 +0400 |
commit | be480dcbb598687584e01156479d5476ca51ca9b (patch) | |
tree | 3ed58db27170821bb31ff0348523255c1ee32932 /drivers/dma/dw/platform.c | |
parent | 4aed508fc5a8314351bc3daa913a4713d52e6677 (diff) | |
download | linux-be480dcbb598687584e01156479d5476ca51ca9b.tar.xz |
dma: dw: append MODULE_DEVICE_TABLE for ACPI case
In rare cases (mostly for the testing purposes) the dw_dmac driver might be
compiled as a module as well as the other LPSS device drivers (I2C, SPI,
HSUART). When udev handles the event of the devices appearing the dw_dmac
module is missing. This patch will fix that.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/dw/platform.c')
-rw-r--r-- | drivers/dma/dw/platform.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/dw/platform.c b/drivers/dma/dw/platform.c index 6c9449cffae8..e35d97590311 100644 --- a/drivers/dma/dw/platform.c +++ b/drivers/dma/dw/platform.c @@ -253,6 +253,7 @@ static const struct acpi_device_id dw_dma_acpi_id_table[] = { { "INTL9C60", 0 }, { } }; +MODULE_DEVICE_TABLE(acpi, dw_dma_acpi_id_table); #endif #ifdef CONFIG_PM_SLEEP |