diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-09 20:33:02 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-16 10:11:14 +0100 |
commit | a8ae608529ab1b71a3830895f98a107be90fed48 (patch) | |
tree | 2ba10516924b4044d370cd3d89a3e954ae1b5390 /drivers/base | |
parent | device.h: move 'struct bus' stuff out to device/bus.h (diff) | |
download | linux-a8ae608529ab1b71a3830895f98a107be90fed48.tar.xz linux-a8ae608529ab1b71a3830895f98a107be90fed48.zip |
device.h: move 'struct class' stuff out to device/class.h
device.h has everything and the kitchen sink when it comes to struct
device things, so split out the struct class 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-6-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base')
-rw-r--r-- | drivers/base/class.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/base/class.c b/drivers/base/class.c index d8a6a5864c2e..bcd410e6d70a 100644 --- a/drivers/base/class.c +++ b/drivers/base/class.c @@ -8,6 +8,7 @@ * Copyright (c) 2003-2004 IBM Corp. */ +#include <linux/device/class.h> #include <linux/device.h> #include <linux/module.h> #include <linux/init.h> |