mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-29 21:33:00 +01:00
Software nodes depend on kernel_kobj which is initialized pretty late into the boot process - as a core_initcall(). Ahead of moving the software node initialization to driver_init() we must first make kernel_kobj available before it. Make ksysfs_init() visible in a new header - ksysfs.h - and call it in do_basic_setup() right before driver_init(). Signed-off-by: Bartosz Golaszewski <[email protected]> Link: https://patch.msgid.link/20260402-nokia770-gpio-swnodes-v5-1-d730db3dd299@oss.qualcomm.com Signed-off-by: Danilo Krummrich <[email protected]>
9 lines
128 B
C
9 lines
128 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
#ifndef _KSYSFS_H_
|
|
#define _KSYSFS_H_
|
|
|
|
void ksysfs_init(void);
|
|
|
|
#endif /* _KSYSFS_H_ */
|