Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git] / include / asm-ppc / ocp.h
index b98db3c..983116f 100644 (file)
@@ -189,7 +189,7 @@ extern void ocp_for_each_device(void(*callback)(struct ocp_device *, void *arg),
 /* Sysfs support */
 #define OCP_SYSFS_ADDTL(type, format, name, field)                     \
 static ssize_t                                                         \
-show_##name##_##field(struct device *dev, char *buf)                   \
+show_##name##_##field(struct device *dev, struct device_attribute *attr, char *buf)                    \
 {                                                                      \
        struct ocp_device *odev = to_ocp_dev(dev);                      \
        type *add = odev->def->additions;                               \
@@ -202,10 +202,6 @@ static DEVICE_ATTR(name##_##field, S_IRUGO, show_##name##_##field, NULL);
 #include <asm/ibm_ocp.h>
 #endif
 
-#ifdef CONFIG_FSL_OCP
-#include <asm/fsl_ocp.h>
-#endif
-
 #endif                         /* CONFIG_PPC_OCP */
 #endif                         /* __OCP_H__ */
 #endif                         /* __KERNEL__ */