aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/virtio_net.h
diff options
context:
space:
mode:
authorMike Rapoport <rppt@linux.vnet.ibm.com>2016-06-08 09:09:17 -0400
committerDavid S. Miller <davem@davemloft.net>2016-06-11 02:03:55 -0400
commit678ece30226ac05e95768d5f70db53a475569d37 (patch)
treeb26d8ea13e5357f0056f494e5ad80a59b3b312f0 /include/uapi/linux/virtio_net.h
parent231edca97f947f50e18fa2f6d9c8285c3314232b (diff)
virtio_net: add _UAPI prefix to virtio_net header guards
This gives better namespacing and prevents conflicts with no-uapi version of virtio_net header that will be introduced in the following patch. Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/virtio_net.h')
-rw-r--r--include/uapi/linux/virtio_net.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/uapi/linux/virtio_net.h b/include/uapi/linux/virtio_net.h
index 0da0e3a98f17..fc353b518288 100644
--- a/include/uapi/linux/virtio_net.h
+++ b/include/uapi/linux/virtio_net.h
@@ -1,5 +1,5 @@
1#ifndef _LINUX_VIRTIO_NET_H 1#ifndef _UAPI_LINUX_VIRTIO_NET_H
2#define _LINUX_VIRTIO_NET_H 2#define _UAPI_LINUX_VIRTIO_NET_H
3/* This header is BSD licensed so anyone can use the definitions to implement 3/* This header is BSD licensed so anyone can use the definitions to implement
4 * compatible drivers/servers. 4 * compatible drivers/servers.
5 * 5 *
@@ -245,4 +245,4 @@ struct virtio_net_ctrl_mq {
245#define VIRTIO_NET_CTRL_GUEST_OFFLOADS 5 245#define VIRTIO_NET_CTRL_GUEST_OFFLOADS 5
246#define VIRTIO_NET_CTRL_GUEST_OFFLOADS_SET 0 246#define VIRTIO_NET_CTRL_GUEST_OFFLOADS_SET 0
247 247
248#endif /* _LINUX_VIRTIO_NET_H */ 248#endif /* _UAPI_LINUX_VIRTIO_NET_H */