11,6 → 11,7 |
#include <asm/io.h> |
#include <linux/ctype.h> |
#include <linux/device.h> |
#include <linux/completion.h> |
|
unsigned char _ctype[] = { |
_C,_C,_C,_C,_C,_C,_C,_C, /* 0-7 */ |
317,3 → 318,34 |
|
} |
|
unsigned long __copy_to_user_ll(void __user *to, const void *from, unsigned long n) { |
|
memcpy(to,from,n); |
return n; |
|
} |
|
unsigned long __copy_from_user_ll(void *to, const void __user *from, unsigned long n) { |
|
memcpy(to,from,n); |
return n; |
|
} |
|
void complete(struct completion *c) { |
} |
|
void wait_for_completion(struct completion *c) { |
} |
|
struct device legacy_bus = { |
.bus_id = "legacy", |
}; |
|
int register_chrdev(unsigned int a, const char *b, struct file_operations *c) { |
return 0; |
} |
|
int unregister_chrdev(unsigned int a, const char *b) { |
return 0; |
} |