summaryrefslogtreecommitdiff
path: root/include/linux/pinctrl
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2023-10-03 15:10:11 +0300
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2023-10-03 16:29:30 +0300
commit82cc14c9930c7613da2fcb41a8d4f90c8b4cb048 (patch)
tree4f5b29443f4ea0fd9ac363bbe4b47639b13e0d5e /include/linux/pinctrl
parent3cd39bc3b11b8d34b7d7c961a35fdfd18b0ebf75 (diff)
downloadlinux-82cc14c9930c7613da2fcb41a8d4f90c8b4cb048.tar.xz
pinctrl: Replace kernel.h by what is actually being used
The kernel.h is a mess of unrelated things and we only used it as a proxy to array_size.h, hence switch from former to the latter. While at it, group and sort the headers where it makes sense. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'include/linux/pinctrl')
-rw-r--r--include/linux/pinctrl/machine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/pinctrl/machine.h b/include/linux/pinctrl/machine.h
index 0639b36f43c5..ee8803f6ad07 100644
--- a/include/linux/pinctrl/machine.h
+++ b/include/linux/pinctrl/machine.h
@@ -11,7 +11,7 @@
#ifndef __LINUX_PINCTRL_MACHINE_H
#define __LINUX_PINCTRL_MACHINE_H
-#include <linux/kernel.h> /* ARRAY_SIZE() */
+#include <linux/array_size.h>
#include <linux/pinctrl/pinctrl-state.h>