aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2010-06-15 07:21:11 -0400
committerJens Axboe <jaxboe@fusionio.com>2010-08-07 12:15:37 -0400
commitbe1c0fbfb4e84d0b02903cbc6358124586605a1b (patch)
tree3a69ace0dcb3d10dec513c508a27a31820fd282b /drivers/block
parent575cfc673e0f2e6f71ccc01bb77d7ec811054048 (diff)
floppy: cmos attribute should be static
As reported by sparse, cmos attribute is local. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/floppy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/floppy.c b/drivers/block/floppy.c
index 9b4746871227..975fac3669c5 100644
--- a/drivers/block/floppy.c
+++ b/drivers/block/floppy.c
@@ -4127,7 +4127,7 @@ static ssize_t floppy_cmos_show(struct device *dev,
4127 return sprintf(buf, "%X\n", UDP->cmos); 4127 return sprintf(buf, "%X\n", UDP->cmos);
4128} 4128}
4129 4129
4130DEVICE_ATTR(cmos, S_IRUGO, floppy_cmos_show, NULL); 4130static DEVICE_ATTR(cmos, S_IRUGO, floppy_cmos_show, NULL);
4131 4131
4132static void floppy_device_release(struct device *dev) 4132static void floppy_device_release(struct device *dev)
4133{ 4133{