virtio: move ioport macros
authorYuanhan Liu <yuanhan.liu@linux.intel.com>
Tue, 2 Feb 2016 13:48:20 +0000 (21:48 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 3 Feb 2016 15:07:50 +0000 (16:07 +0100)
commitb86af7b1b57ebe02ebf5298415172d51f1f81e8b
tree8c375c89cc29a7677bff8e656b9322ebf14ddeee
parent6ba1f63b5ab0d6115c0fb74283e3a16512f56255
virtio: move ioport macros

virtio_pci.c is the only file references macros VIRTIO_READ/WRITE_REG_X.
Move them there.

Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Tested-by: Qian Xu <qian.q.xu@intel.com>
Reviewed-by: Tetsuya Mukawa <mukawa@igel.co.jp>
Tested-by: Tetsuya Mukawa <mukawa@igel.co.jp>
Acked-by: Huawei Xie <huawei.xie@intel.com>
drivers/net/virtio/virtio_pci.c
drivers/net/virtio/virtio_pci.h