diff options
author | Greg Kroah-Hartman | 2019-12-09 20:33:03 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2019-12-16 10:11:16 +0100 |
commit | 4c002c978b7f2f2306d53de051c054504af920a9 (patch) | |
tree | 31c4083b3ad88e33f18437f1b8acc35e1bc7e47d /drivers/base | |
parent | a8ae608529ab1b71a3830895f98a107be90fed48 (diff) |
device.h: move 'struct driver' stuff out to device/driver.h
device.h has everything and the kitchen sink when it comes to struct
device things, so split out the struct driver 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-7-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base')
-rw-r--r-- | drivers/base/driver.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/base/driver.c b/drivers/base/driver.c index 4e5ca632f35e..57c68769e157 100644 --- a/drivers/base/driver.c +++ b/drivers/base/driver.c @@ -8,6 +8,7 @@ * Copyright (c) 2007 Novell Inc. */ +#include <linux/device/driver.h> #include <linux/device.h> #include <linux/module.h> #include <linux/errno.h> |