diff --git a/drivers/base/driver.c b/drivers/base/driver.c index 1fd6bbc..eec2a2d 100644 --- a/drivers/base/driver.c +++ b/drivers/base/driver.c @@ -439,12 +439,6 @@ return generic_memmap_rw(cdev, map, flags); } -int dummy_probe(struct device_d *dev) -{ - return 0; -} -EXPORT_SYMBOL(dummy_probe); - /** * dev_set_name - set a device name * @dev: device diff --git a/include/driver.h b/include/driver.h index aa63a35..3479e18 100644 --- a/include/driver.h +++ b/include/driver.h @@ -353,9 +353,6 @@ ssize_t mem_read(struct cdev *cdev, void *buf, size_t count, loff_t offset, ulong flags); ssize_t mem_write(struct cdev *cdev, const void *buf, size_t count, loff_t offset, ulong flags); -/* Use this if you have nothing to do in your drivers probe function */ -int dummy_probe(struct device_d *); - int generic_memmap_ro(struct cdev *dev, void **map, int flags); int generic_memmap_rw(struct cdev *dev, void **map, int flags);