static ssize_t ecard_show_resources(struct device *dev, char *buf)
static ssize_t ecard_show_resources(struct device *dev, struct device_attribute *attr, char *buf)
static ssize_t ecard_show_resources(struct device *dev, char *buf){	struct expansion_card *ec = ECARD_DEV(dev);	char *str = buf;	int i;	for (i = 0; i < ECARD_NUM_RESOURCES; i++)		str += sprintf(str, "%08lx %08lx %08lx\n",				ec->resource[i].start,				ec->resource[i].end,				ec->resource[i].flags);	return str - buf;}