diff --git a/repos/pc/src/drivers/usb_host/pc/dummies.c b/repos/pc/src/drivers/usb_host/pc/dummies.c index 0d918424d0..dfc1d855cb 100644 --- a/repos/pc/src/drivers/usb_host/pc/dummies.c +++ b/repos/pc/src/drivers/usb_host/pc/dummies.c @@ -131,6 +131,14 @@ int sysfs_create_link(struct kobject * kobj,struct kobject * target,const char * } +#include + +void sysfs_delete_link(struct kobject * kobj,struct kobject * targ,const char * name) +{ + lx_emul_trace(__func__); +} + + #include void sysfs_remove_link(struct kobject * kobj,const char * name) diff --git a/repos/pc/src/drivers/usb_host/pc/generated_dummies.c b/repos/pc/src/drivers/usb_host/pc/generated_dummies.c index ee2ef477fb..2c067ee5d5 100644 --- a/repos/pc/src/drivers/usb_host/pc/generated_dummies.c +++ b/repos/pc/src/drivers/usb_host/pc/generated_dummies.c @@ -577,14 +577,6 @@ void synchronize_srcu(struct srcu_struct * ssp) } -#include - -void sysfs_delete_link(struct kobject * kobj,struct kobject * targ,const char * name) -{ - lx_emul_trace_and_stop(__func__); -} - - #include int sysfs_emit(char * buf,const char * fmt,...)