more sysdev API change fallout - drivers/base/memory.c

Noticed because of this warning:

drivers/base/memory.c:279: warning: initialization from incompatible pointer type

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Stephen Rothwell and committed by
Linus Torvalds
1f07be1c b032bf70

+2 -1
+2 -1
drivers/base/memory.c
··· 103 103 /* 104 104 * Show whether the section of memory is likely to be hot-removable 105 105 */ 106 - static ssize_t show_mem_removable(struct sys_device *dev, char *buf) 106 + static ssize_t show_mem_removable(struct sys_device *dev, 107 + struct sysdev_attribute *attr, char *buf) 107 108 { 108 109 unsigned long start_pfn; 109 110 int ret;