diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2023-02-08 19:33:28 +0200 |
---|---|---|
committer | Dipen Patel <dipenp@nvidia.com> | 2023-04-26 15:44:30 -0700 |
commit | ca3d1a4b419acad3fca6828884acb03614f7558b (patch) | |
tree | 27033aa00c5f6a84f1b1c2b1e032e96ffc8a9068 /drivers/hte | |
parent | 9e0c2d40a40733fba605ff47a08f3eba2fab4fbb (diff) | |
download | linux-ca3d1a4b419acad3fca6828884acb03614f7558b.tar.gz linux-ca3d1a4b419acad3fca6828884acb03614f7558b.tar.bz2 linux-ca3d1a4b419acad3fca6828884acb03614f7558b.zip |
hte: tegra-194: Use proper includes
The test driver uses the gpiod consumer API so include the right
<linux/gpio/consumer.h> header. This may cause a problem with
struct of_device_id being implcitly pulled in by the legacy
header <linux/gpio.h> so include <linux/mod_devicetable.h>
explicitly as well.
While at it, drop explicit moduleparam.h (it's included with module.h)
and sort the headers.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Dipen Patel <dipenp@nvidia.com>
Signed-off-by: Dipen Patel <dipenp@nvidia.com>
Diffstat (limited to 'drivers/hte')
-rw-r--r-- | drivers/hte/hte-tegra194-test.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/hte/hte-tegra194-test.c b/drivers/hte/hte-tegra194-test.c index 98d1fd6de071..ba37a5efbf82 100644 --- a/drivers/hte/hte-tegra194-test.c +++ b/drivers/hte/hte-tegra194-test.c @@ -6,15 +6,14 @@ */ #include <linux/err.h> +#include <linux/gpio/consumer.h> +#include <linux/hte.h> +#include <linux/interrupt.h> #include <linux/mod_devicetable.h> #include <linux/module.h> -#include <linux/moduleparam.h> -#include <linux/interrupt.h> -#include <linux/gpio.h> -#include <linux/timer.h> #include <linux/platform_device.h> +#include <linux/timer.h> #include <linux/workqueue.h> -#include <linux/hte.h> /* * This sample HTE test driver demonstrates HTE API usage by enabling |