]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/pnp.h
i2c: Add info->archdata field
[linux-2.6-omap-h63xx.git] / include / linux / pnp.h
index be764e514e35946eeced5615440769912da9e0fa..53b70fd1d9a535d92639a66757646ce5620e21f9 100644 (file)
@@ -22,9 +22,11 @@ struct pnp_dev;
  * Resource Management
  */
 #ifdef CONFIG_PNP
-struct resource *pnp_get_resource(struct pnp_dev *, unsigned int, unsigned int);
+struct resource *pnp_get_resource(struct pnp_dev *dev, unsigned long type,
+                               unsigned int num);
 #else
-static inline struct resource *pnp_get_resource(struct pnp_dev *dev, unsigned int type, unsigned int num)
+static inline struct resource *pnp_get_resource(struct pnp_dev *dev,
+                       unsigned long type, unsigned int num)
 {
        return NULL;
 }