mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-18 23:18:20 +00:00
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>
This commit is contained in:
parent
575cfc673e
commit
be1c0fbfb4
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user