From: Stephen Hemminger on
As reported by sparse, cmos attribute is local.

Signed-off-by: Stephen Hemminger <shemminger(a)vyatta.com>

--- a/drivers/block/floppy.c 2010-06-08 23:08:23.326715957 -0700
+++ b/drivers/block/floppy.c 2010-06-08 23:08:29.136934127 -0700
@@ -4127,7 +4127,7 @@ static ssize_t floppy_cmos_show(struct d
return sprintf(buf, "%X\n", UDP->cmos);
}

-DEVICE_ATTR(cmos, S_IRUGO, floppy_cmos_show, NULL);
+static DEVICE_ATTR(cmos, S_IRUGO, floppy_cmos_show, NULL);

static void floppy_device_release(struct device *dev)
{


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/