firmware/br-ext-chip-allwinner/board/v83x/kernel/patches/00000-include_linux_sysfs.h...

13 lines
449 B
Diff

diff -drupN a/include/linux/sysfs.h b/include/linux/sysfs.h
--- a/include/linux/sysfs.h 2018-08-06 17:23:04.000000000 +0300
+++ b/include/linux/sysfs.h 2022-06-12 05:28:14.000000000 +0300
@@ -518,7 +518,7 @@ static inline void sysfs_notify_dirent(s
}
static inline struct kernfs_node *sysfs_get_dirent(struct kernfs_node *parent,
- const unsigned char *name)
+ const char *name)
{
return kernfs_find_and_get(parent, name);
}