diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2024-06-06 19:15:49 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-06-10 15:13:02 +0300 |
commit | c917b26e1686b99f18a3c9fbce508a7c264c6706 (patch) | |
tree | ebc98ab2b877bec0edadad197730dc4c9a022fbb /drivers/net/dsa/hirschmann/hellcreek.h | |
parent | a9522664c6175c6473b0a42c0aa7c26d6d31d5f3 (diff) | |
download | linux-c917b26e1686b99f18a3c9fbce508a7c264c6706.tar.xz |
net: dsa: hellcreek: Replace kernel.h with what is used
kernel.h is included solely for some other existing headers.
Include them directly and get rid of kernel.h.
While at it, sort headers alphabetically for easier maintenance.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Kurt Kanzenbach <kurt@linutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/hirschmann/hellcreek.h')
-rw-r--r-- | drivers/net/dsa/hirschmann/hellcreek.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/net/dsa/hirschmann/hellcreek.h b/drivers/net/dsa/hirschmann/hellcreek.h index 6874cb9dc361..9c2ed2ba79da 100644 --- a/drivers/net/dsa/hirschmann/hellcreek.h +++ b/drivers/net/dsa/hirschmann/hellcreek.h @@ -12,14 +12,16 @@ #include <linux/bitmap.h> #include <linux/bitops.h> +#include <linux/container_of.h> #include <linux/device.h> -#include <linux/kernel.h> -#include <linux/mutex.h> -#include <linux/workqueue.h> #include <linux/leds.h> +#include <linux/mutex.h> #include <linux/platform_data/hirschmann-hellcreek.h> #include <linux/ptp_clock_kernel.h> #include <linux/timecounter.h> +#include <linux/types.h> +#include <linux/workqueue.h> + #include <net/dsa.h> #include <net/pkt_sched.h> |