diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2014-10-23 13:08:44 (GMT) |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2014-12-09 10:05:27 (GMT) |
commit | 393c525b5bea6989380c4b57508ec901488079f0 (patch) | |
tree | 4762d1f72d7465c68b3df5d4f82d1f911dce812f | |
parent | af9ca13b4430107bdae8557801b4274ee3c5b378 (diff) | |
download | linux-393c525b5bea6989380c4b57508ec901488079f0.tar.xz |
virtio_blk: make serial attribute static
It's never declared so no need to make it extern.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
-rw-r--r-- | drivers/block/virtio_blk.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c index f601f16..055f3df 100644 --- a/drivers/block/virtio_blk.c +++ b/drivers/block/virtio_blk.c @@ -332,7 +332,8 @@ static ssize_t virtblk_serial_show(struct device *dev, return err; } -DEVICE_ATTR(serial, S_IRUGO, virtblk_serial_show, NULL); + +static DEVICE_ATTR(serial, S_IRUGO, virtblk_serial_show, NULL); static void virtblk_config_changed_work(struct work_struct *work) { |