From: ChiYuan Huang Date: Wed, 29 Jun 2022 01:41:01 +0000 (+0800) Subject: regulator: mt6370: Use the correct header for platform_device_id X-Git-Tag: v6.1-rc5~587^2~20 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=46ae6fb58fd49c4cb2d1ca34e87d603b7c96ba97;p=platform%2Fkernel%2Flinux-starfive.git 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 Reviewed-by: AngeloGioacchino Del Regno Link: https://lore.kernel.org/r/1656466861-7737-2-git-send-email-u0084500@gmail.com Signed-off-by: Mark Brown --- diff --git a/drivers/regulator/mt6370-regulator.c b/drivers/regulator/mt6370-regulator.c index 949b2c7..e73f5a4 100644 --- a/drivers/regulator/mt6370-regulator.c +++ b/drivers/regulator/mt6370-regulator.c @@ -4,6 +4,7 @@ #include #include #include +#include #include #include #include