diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-09 22:33:01 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-16 12:11:12 +0300 |
commit | 5aee2bf2629d7db2619110f62b15cf742c116e0b (patch) | |
tree | 85f762b3c7612433ca8c2536e44fce59d7b058db /drivers | |
parent | af628aae8640c268938a0c9344b4ec0d102c0a0a (diff) | |
download | linux-5aee2bf2629d7db2619110f62b15cf742c116e0b.tar.xz |
device.h: move 'struct bus' stuff out to device/bus.h
device.h has everything and the kitchen sink when it comes to struct
device things, so split out the struct bus things things to a separate
.h file to make things easier to maintain and manage over time.
Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Cc: Suzuki K Poulose <suzuki.poulose@arm.com>
Cc: Saravana Kannan <saravanak@google.com>
Cc: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20191209193303.1694546-5-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/base/bus.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/base/bus.c b/drivers/base/bus.c index a1d1e8256324..886e9054999a 100644 --- a/drivers/base/bus.c +++ b/drivers/base/bus.c @@ -9,6 +9,7 @@ */ #include <linux/async.h> +#include <linux/device/bus.h> #include <linux/device.h> #include <linux/module.h> #include <linux/errno.h> |