pc: remove __register_chrdev from common dummies

Issue #5036
This commit is contained in:
Christian Helmuth 2023-10-20 15:26:20 +02:00
parent 445ecba9b5
commit 0f8dd3a7a0
3 changed files with 18 additions and 8 deletions

View File

@ -767,3 +767,12 @@ void skb_init()
{
lx_emul_trace(__func__);
}
#include <linux/fs.h>
int __register_chrdev(unsigned int major,unsigned int baseminor,unsigned int count,const char * name,const struct file_operations * fops)
{
lx_emul_trace(__func__);
return 0;
}

View File

@ -232,3 +232,12 @@ void skb_init()
{
lx_emul_trace(__func__);
}
#include <linux/fs.h>
int __register_chrdev(unsigned int major,unsigned int baseminor,unsigned int count,const char * name,const struct file_operations * fops)
{
lx_emul_trace(__func__);
return 0;
}

View File

@ -168,14 +168,6 @@ bool irq_wait_for_poll(struct irq_desc * desc)
}
#include <linux/fs.h>
int __register_chrdev(unsigned int major,unsigned int baseminor,unsigned int count,const char * name,const struct file_operations * fops)
{
lx_emul_trace(__func__);
return 0;
}
int register_chrdev_region(dev_t from,unsigned count,const char * name)
{