mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
virtio_blk: make serial attribute static
It's never declared so no need to make it extern. Signed-off-by: Michael S. Tsirkin <[email protected]> Reviewed-by: Cornelia Huck <[email protected]>
This commit is contained in:
parent
af9ca13b44
commit
393c525b5b
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue