aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--0001-driver-core-add-printk-debugging.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/0001-driver-core-add-printk-debugging.patch b/0001-driver-core-add-printk-debugging.patch
index 1d5af6d396fa1a..39d3ccdc04ba6b 100644
--- a/0001-driver-core-add-printk-debugging.patch
+++ b/0001-driver-core-add-printk-debugging.patch
@@ -40,7 +40,7 @@ Helps when trying to find leaks
#include <linux/device/class.h>
#include <linux/device.h>
#include <linux/module.h>
-@@ -575,6 +577,7 @@ EXPORT_SYMBOL_GPL(class_compat_register)
+@@ -573,6 +575,7 @@ EXPORT_SYMBOL_GPL(class_compat_register)
*/
void class_compat_unregister(struct class_compat *cls)
{
@@ -50,7 +50,7 @@ Helps when trying to find leaks
}
--- a/drivers/base/core.c
+++ b/drivers/base/core.c
-@@ -3851,6 +3851,7 @@ EXPORT_SYMBOL_GPL(device_del);
+@@ -3852,6 +3852,7 @@ EXPORT_SYMBOL_GPL(device_del);
void device_unregister(struct device *dev)
{
pr_debug("device: '%s': %s\n", dev_name(dev), __func__);
@@ -58,7 +58,7 @@ Helps when trying to find leaks
device_del(dev);
put_device(dev);
}
-@@ -4275,6 +4276,7 @@ EXPORT_SYMBOL_GPL(root_device_unregister
+@@ -4276,6 +4277,7 @@ EXPORT_SYMBOL_GPL(root_device_unregister
static void device_create_release(struct device *dev)
{
pr_debug("device: '%s': %s\n", dev_name(dev), __func__);
@@ -66,7 +66,7 @@ Helps when trying to find leaks
kfree(dev);
}
-@@ -4409,6 +4411,7 @@ void device_destroy(const struct class *
+@@ -4410,6 +4412,7 @@ void device_destroy(const struct class *
dev = class_find_device_by_devt(class, devt);
if (dev) {