power: supply: core: Fix power_supply_init_attrs() stub
[linux-2.6-microblaze.git] / drivers / power / supply / power_supply.h
index 232fdd8..7d05756 100644 (file)
@@ -22,7 +22,7 @@ extern int power_supply_uevent(const struct device *dev, struct kobj_uevent_env
 
 #else
 
-static inline void power_supply_init_attrs(struct device_type *dev_type) {}
+static inline void power_supply_init_attrs(void) {}
 #define power_supply_uevent NULL
 
 #endif /* CONFIG_SYSFS */