]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/block/floppy.c
floppy: cmos attribute should be static
[mv-sheeva.git] / drivers / block / floppy.c
index 9b4746871227d622dc4cdf1ba8e68547d8e9e9b5..975fac3669c5008ac897e92820339cd0f50b5f53 100644 (file)
@@ -4127,7 +4127,7 @@ static ssize_t floppy_cmos_show(struct device *dev,
        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)
 {