fix 2.4 build

main
Dave Airlie 2004-05-02 13:03:51 +00:00
parent a3612f450b
commit a9d2438999
2 changed files with 2 additions and 4 deletions

View File

@ -246,8 +246,7 @@ static inline unsigned iminor(struct inode *inode)
struct class_simple;
struct device;
static inline void *class_simple_device_add(struct class_simple *cs, dev_t dev, struct device *device, const char *fmt, ...)
{ return NULL;}
#define class_simple_device_add(...) do {} while (0)
static inline void class_simple_device_remove(dev_t dev){};

View File

@ -246,8 +246,7 @@ static inline unsigned iminor(struct inode *inode)
struct class_simple;
struct device;
static inline void *class_simple_device_add(struct class_simple *cs, dev_t dev, struct device *device, const char *fmt, ...)
{ return NULL;}
#define class_simple_device_add(...) do {} while (0)
static inline void class_simple_device_remove(dev_t dev){};