projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
726474b
)
virtio: add missing include to virtio_net.h
author
Grant Likely
<grant.likely@secretlab.ca>
Fri, 1 May 2009 22:34:02 +0000
(15:34 -0700)
committer
David S. Miller
<davem@davemloft.net>
Fri, 1 May 2009 22:34:02 +0000
(15:34 -0700)
virtio_net.h uses the macro ETH_ALEN which is defined in linux/if_ether.h.
Discovered when hacking on virtio-over-pci patches.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/virtio_net.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/virtio_net.h
b/include/linux/virtio_net.h
index 242348bb3766a69e45d0255575bf108a7eb4a744..cec79adbe3ea60934ad69f3ef00484f12b97b065 100644
(file)
--- a/
include/linux/virtio_net.h
+++ b/
include/linux/virtio_net.h
@@
-4,6
+4,7
@@
* compatible drivers/servers. */
#include <linux/types.h>
#include <linux/virtio_config.h>
+#include <linux/if_ether.h>
/* The ID for virtio_net */
#define VIRTIO_ID_NET 1