summaryrefslogtreecommitdiff
path: root/drivers/staging/hv
diff options
context:
space:
mode:
authorK. Y. Srinivasan <kys@microsoft.com>2011-05-12 19:34:37 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2011-05-17 12:27:06 -0700
commit5ca7252a7e2be5e05772f202d94e173b7224e7a9 (patch)
tree7092d56d5c2bcdf04fba8db5ebf14cd106051d82 /drivers/staging/hv
parent5041e715c8ecdf4719de17a88508052b2329a41c (diff)
Staging: hv: netvsc: Create a common header file for network driver
Create a common header file for network driver. Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Abhishek Kane <v-abkane@microsoft.com> Signed-off-by: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv')
-rw-r--r--drivers/staging/hv/hyperv_net.h28
-rw-r--r--drivers/staging/hv/netvsc.c1
-rw-r--r--drivers/staging/hv/netvsc_drv.c1
-rw-r--r--drivers/staging/hv/rndis_filter.c1
4 files changed, 31 insertions, 0 deletions
diff --git a/drivers/staging/hv/hyperv_net.h b/drivers/staging/hv/hyperv_net.h
new file mode 100644
index 000000000000..9eb5c86f1f7e
--- /dev/null
+++ b/drivers/staging/hv/hyperv_net.h
@@ -0,0 +1,28 @@
+/*
+ *
+ * Copyright (c) 2011, Microsoft Corporation.
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms and conditions of the GNU General Public License,
+ * version 2, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
+ * Place - Suite 330, Boston, MA 02111-1307 USA.
+ *
+ * Authors:
+ * Haiyang Zhang <haiyangz@microsoft.com>
+ * Hank Janssen <hjanssen@microsoft.com>
+ * K. Y. Srinivasan <kys@microsoft.com>
+ *
+ */
+
+#ifndef _HYPERV_NET_H
+#define _HYPERV_NET_H
+
+#endif /* _HYPERV_NET_H */
diff --git a/drivers/staging/hv/netvsc.c b/drivers/staging/hv/netvsc.c
index c665d8891aa0..76aa59e02b38 100644
--- a/drivers/staging/hv/netvsc.c
+++ b/drivers/staging/hv/netvsc.c
@@ -29,6 +29,7 @@
#include <linux/slab.h>
#include "hyperv.h"
+#include "hyperv_net.h"
#include "netvsc.h"
#include "rndis_filter.h"
diff --git a/drivers/staging/hv/netvsc_drv.c b/drivers/staging/hv/netvsc_drv.c
index 4e2995249db8..06fc9d19d2a8 100644
--- a/drivers/staging/hv/netvsc_drv.c
+++ b/drivers/staging/hv/netvsc_drv.c
@@ -40,6 +40,7 @@
#include <net/pkt_sched.h>
#include "hyperv.h"
+#include "hyperv_net.h"
#include "netvsc_api.h"
struct net_device_context {
diff --git a/drivers/staging/hv/rndis_filter.c b/drivers/staging/hv/rndis_filter.c
index 21818e206434..74bd4b153845 100644
--- a/drivers/staging/hv/rndis_filter.c
+++ b/drivers/staging/hv/rndis_filter.c
@@ -28,6 +28,7 @@
#include <linux/netdevice.h>
#include "hyperv.h"
+#include "hyperv_net.h"
#include "netvsc_api.h"
#include "rndis_filter.h"