(void) dev;
static ssize_t store_scan_age(struct device *d, struct device_attribute *attr,			      const char *buf, size_t count){	struct ipw2100_priv *priv = dev_get_drvdata(d);	struct net_device *dev = priv->net_dev;	char buffer[] = "00000000";	unsigned long len =	    (sizeof(buffer) - 1) > count ? count : sizeof(buffer) - 1;	unsigned long val;	char *p = buffer;	IPW_DEBUG_INFO("enter\n");	strncpy(buffer, buf, len);	buffer[len] = 0;	if (p[1] == 'x' || p[1] == 'X' || p[0] == 'x' || p[0] == 'X') {		p++;		if (p[0] == 'x' || p[0] == 'X')			p++;		val = simple_strtoul(p, &p, 16);	} else		val = simple_strtoul(p, &p, 10);	if (p == buffer) {		IPW_DEBUG_INFO("%s: user supplied invalid value.\n", dev->name);	} else {		priv->ieee->scan_age = val;		IPW_DEBUG_INFO("set scan_age = %u\n", priv->ieee->scan_age);	}	IPW_DEBUG_INFO("exit\n");	return len;}