diff options
-rw-r--r-- | linux-core/drmP.h | 1 | ||||
-rw-r--r-- | linux/drmP.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/linux-core/drmP.h b/linux-core/drmP.h index ade3e38d..f2c138c5 100644 --- a/linux-core/drmP.h +++ b/linux-core/drmP.h @@ -246,6 +246,7 @@ static inline unsigned iminor(struct inode *inode) struct class_simple; struct device; +#define pci_dev_put(x) do {} while (0) #define class_simple_device_add(...) do {} while (0) static inline void class_simple_device_remove(dev_t dev){}; diff --git a/linux/drmP.h b/linux/drmP.h index ade3e38d..f2c138c5 100644 --- a/linux/drmP.h +++ b/linux/drmP.h @@ -246,6 +246,7 @@ static inline unsigned iminor(struct inode *inode) struct class_simple; struct device; +#define pci_dev_put(x) do {} while (0) #define class_simple_device_add(...) do {} while (0) static inline void class_simple_device_remove(dev_t dev){}; |