diff options
author | Luis de Bethencourt <luis@debethencourt.com> | 2015-09-18 20:09:24 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-09-19 17:54:20 +0300 |
commit | 2f9481e7dc0d3aacbaa07701f3ee2527f5d48301 (patch) | |
tree | 5d852c98fb7d4005aaf09a30c7def6ffec00ac5b /drivers | |
parent | 6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f (diff) | |
download | linux-2f9481e7dc0d3aacbaa07701f3ee2527f5d48301.tar.xz |
regulator: gpio: Fix module autoload for OF platform driver
This platform driver has a OF device ID table but the OF module
alias information is not created so module autoloading won't work.
Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/regulator/gpio-regulator.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/gpio-regulator.c b/drivers/regulator/gpio-regulator.c index 464018de7e97..7bba8b747f30 100644 --- a/drivers/regulator/gpio-regulator.c +++ b/drivers/regulator/gpio-regulator.c @@ -394,6 +394,7 @@ static const struct of_device_id regulator_gpio_of_match[] = { { .compatible = "regulator-gpio", }, {}, }; +MODULE_DEVICE_TABLE(of, regulator_gpio_of_match); #endif static struct platform_driver gpio_regulator_driver = { |