/* Create the actual show/store functions and data structures.  */
static ssize_t store_scan(struct device *dev, struct device_attribute *attr, const char *buf, size_t count)
/* Create the actual show/store functions and data structures.  */
static ssize_t store_scan(struct device *dev, struct device_attribute *attr, const char *buf, size_t count)
{
	struct Scsi_Host *shost = class_to_shost(dev);
	int res;
	res = scsi_scan(shost, buf);
	if (res == 0)
		res = count;
	return res;
}