diff options
author | ChiYuan Huang <cy_huang@richtek.com> | 2022-06-29 09:41:01 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-06-29 16:31:42 +0100 |
commit | 46ae6fb58fd49c4cb2d1ca34e87d603b7c96ba97 (patch) | |
tree | 36cd9516d770dab59cd8fc1417bcae8567b20594 /drivers/regulator/mt6370-regulator.c | |
parent | 4806c991bf4ff959acf921ea72f931a945a968ae (diff) |
regulator: mt6370: Use the correct header for platform_device_id
'platform_device_id' struct is defined in 'mod_devicetable.h'.
Even 'of.h' also includes this header usage. The 'of.h' cannot be removed
due to 'of_match_ptr' function.
Signed-off-by: ChiYuan Huang <cy_huang@richtek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/1656466861-7737-2-git-send-email-u0084500@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/mt6370-regulator.c')
-rw-r--r-- | drivers/regulator/mt6370-regulator.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/mt6370-regulator.c b/drivers/regulator/mt6370-regulator.c index 949b2c7b5556..e73f5a46cb9a 100644 --- a/drivers/regulator/mt6370-regulator.c +++ b/drivers/regulator/mt6370-regulator.c @@ -4,6 +4,7 @@ #include <linux/gpio/consumer.h> #include <linux/interrupt.h> #include <linux/kernel.h> +#include <linux/mod_devicetable.h> #include <linux/module.h> #include <linux/of.h> #include <linux/platform_device.h> |