From a51c014b23a4cfb05877868a567313ec766b2ace Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Wed, 25 Mar 2020 10:32:38 +0100 Subject: [PATCH] fix up driver.h patch --- queue-5.5/driver-core-add-dev_has_sync_state.patch | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 + */ -- 2.47.3