From: Dave Airlie Date: Tue, 18 May 2004 09:42:22 +0000 (+0000) Subject: 2.4 compat fix X-Git-Tag: submit/1.0/20121108.012404~2099 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=df6c37fc88c659691230d1f589aff93e69e6c63e;p=profile%2Fivi%2Flibdrm.git 2.4 compat fix --- diff --git a/linux-core/drmP.h b/linux-core/drmP.h index ade3e38..f2c138c 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 ade3e38..f2c138c 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){};