From: Greg Kroah-Hartman Date: Wed, 25 Mar 2020 09:32:38 +0000 (+0100) Subject: fix up driver.h patch X-Git-Tag: v5.5.13~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a51c014b23a4cfb05877868a567313ec766b2ace;p=thirdparty%2Fkernel%2Fstable-queue.git fix up driver.h patch --- diff --git a/queue-5.5/driver-core-add-dev_has_sync_state.patch b/queue-5.5/driver-core-add-dev_has_sync_state.patch index 06c64a099ae..d8448d0c366 100644 --- a/queue-5.5/driver-core-add-dev_has_sync_state.patch +++ b/queue-5.5/driver-core-add-dev_has_sync_state.patch @@ -21,9 +21,9 @@ Signed-off-by: Greg Kroah-Hartman --- a/include/linux/device.h +++ b/include/linux/device.h -@@ -797,6 +797,17 @@ extern void class_destroy(struct class * - __class_create(owner, name, &__key); \ - }) +@@ -1522,6 +1522,17 @@ static inline struct device_node *dev_of + + void driver_init(void); +static inline bool dev_has_sync_state(struct device *dev) +{ @@ -37,5 +37,5 @@ Signed-off-by: Greg Kroah-Hartman +} + /* - * The type of device, "struct device" is embedded in. A class - * or bus can contain devices of different types + * High level routines for use by the bus drivers + */