Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Linus Walleij and committed by
Andy Shevchenko
3b541b89 7a49bfde

+7 -7
+7 -7
drivers/hte/hte-tegra194-test.c
··· 6 6 */ 7 7 8 8 #include <linux/err.h> 9 - #include <linux/module.h> 10 - #include <linux/moduleparam.h> 11 - #include <linux/interrupt.h> 12 - #include <linux/gpio.h> 13 - #include <linux/timer.h> 14 - #include <linux/platform_device.h> 15 - #include <linux/workqueue.h> 9 + #include <linux/gpio/consumer.h> 16 10 #include <linux/hte.h> 11 + #include <linux/interrupt.h> 12 + #include <linux/mod_devicetable.h> 13 + #include <linux/module.h> 14 + #include <linux/platform_device.h> 15 + #include <linux/timer.h> 16 + #include <linux/workqueue.h> 17 17 18 18 /* 19 19 * This sample HTE GPIO test driver demonstrates HTE API usage by enabling