Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit be1c0fbf authored by Stephen Hemminger's avatar Stephen Hemminger Committed by Jens Axboe
Browse files

floppy: cmos attribute should be static



As reported by sparse, cmos attribute is local.

Signed-off-by: default avatarStephen Hemminger <shemminger@vyatta.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarJens Axboe <jaxboe@fusionio.com>
parent 575cfc67
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)
{