diff options
Diffstat (limited to 'include/driver.h')
-rw-r--r-- | include/driver.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/driver.h b/include/driver.h index 85a0c729c4..4918054887 100644 --- a/include/driver.h +++ b/include/driver.h @@ -401,6 +401,9 @@ extern struct list_head bus_list; extern struct bus_type platform_bus; +int platform_driver_register(struct driver_d *drv); +int platform_device_register(struct device_d *new_device); + struct file_operations { /*! Called in response of reading from this device. Required */ ssize_t (*read)(struct cdev*, void* buf, size_t count, loff_t offset, ulong flags); |