pc_usb_host_drv: implement sysfs dummy function

Due to changes in the lx_emul USB driver, a further function
sysfs_delete_link gets called.

Ref genodelabs/genode#4483
This commit is contained in:
Stefan Kalkowski 2022-04-25 11:46:31 +02:00 committed by Christian Helmuth
parent af0531398a
commit 2df0bbf387
2 changed files with 8 additions and 8 deletions

View File

@ -131,6 +131,14 @@ int sysfs_create_link(struct kobject * kobj,struct kobject * target,const char *
}
#include <linux/sysfs.h>
void sysfs_delete_link(struct kobject * kobj,struct kobject * targ,const char * name)
{
lx_emul_trace(__func__);
}
#include <linux/sysfs.h>
void sysfs_remove_link(struct kobject * kobj,const char * name)

View File

@ -577,14 +577,6 @@ void synchronize_srcu(struct srcu_struct * ssp)
}
#include <linux/sysfs.h>
void sysfs_delete_link(struct kobject * kobj,struct kobject * targ,const char * name)
{
lx_emul_trace_and_stop(__func__);
}
#include <linux/sysfs.h>
int sysfs_emit(char * buf,const char * fmt,...)