diff options
author | Dmitry Osipenko <digetx@gmail.com> | 2019-11-04 22:56:10 +0100 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2019-11-06 04:04:01 +0100 |
commit | 9cff2177789f2cf87432be76620c13ba9c632b68 (patch) | |
tree | 3a4746812239caced650976164f809fa2c9d29c7 /drivers/devfreq | |
parent | PM / devfreq: tegra30: Constify structs (diff) | |
download | linux-9cff2177789f2cf87432be76620c13ba9c632b68.tar.xz linux-9cff2177789f2cf87432be76620c13ba9c632b68.zip |
PM / devfreq: tegra30: Include appropriate header
It's not very correct to include mod_devicetable.h for the OF device
drivers and of_device.h should be included instead.
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Tested-by: Peter Geis <pgwipeout@gmail.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/devfreq')
-rw-r--r-- | drivers/devfreq/tegra30-devfreq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/devfreq/tegra30-devfreq.c b/drivers/devfreq/tegra30-devfreq.c index 9bd4dd982927..7c8126e74750 100644 --- a/drivers/devfreq/tegra30-devfreq.c +++ b/drivers/devfreq/tegra30-devfreq.c @@ -13,7 +13,7 @@ #include <linux/io.h> #include <linux/irq.h> #include <linux/module.h> -#include <linux/mod_devicetable.h> +#include <linux/of_device.h> #include <linux/platform_device.h> #include <linux/pm_opp.h> #include <linux/reset.h> |