aboutsummaryrefslogtreecommitdiffstats
path: root/0001-driver-core-add-printk-debugging.patch
diff options
context:
space:
mode:
Diffstat (limited to '0001-driver-core-add-printk-debugging.patch')
-rw-r--r--0001-driver-core-add-printk-debugging.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/0001-driver-core-add-printk-debugging.patch b/0001-driver-core-add-printk-debugging.patch
index 39d3ccdc04ba6b..69bba41edede01 100644
--- a/0001-driver-core-add-printk-debugging.patch
+++ b/0001-driver-core-add-printk-debugging.patch
@@ -21,7 +21,7 @@ Helps when trying to find leaks
kfree(priv);
}
-@@ -1191,6 +1192,7 @@ EXPORT_SYMBOL_GPL(subsys_interface_unreg
+@@ -1198,6 +1199,7 @@ EXPORT_SYMBOL_GPL(subsys_interface_unreg
static void system_root_device_release(struct device *dev)
{
@@ -40,7 +40,7 @@ Helps when trying to find leaks
#include <linux/device/class.h>
#include <linux/device.h>
#include <linux/module.h>
-@@ -573,6 +575,7 @@ EXPORT_SYMBOL_GPL(class_compat_register)
+@@ -574,6 +576,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
-@@ -3852,6 +3852,7 @@ EXPORT_SYMBOL_GPL(device_del);
+@@ -3948,6 +3948,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);
}
-@@ -4276,6 +4277,7 @@ EXPORT_SYMBOL_GPL(root_device_unregister
+@@ -4377,6 +4378,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);
}
-@@ -4410,6 +4412,7 @@ void device_destroy(const struct class *
+@@ -4511,6 +4513,7 @@ void device_destroy(const struct class *
dev = class_find_device_by_devt(class, devt);
if (dev) {