From: K. Y. Srinivasan Date: Fri, 13 May 2011 02:34:37 +0000 (-0700) Subject: Staging: hv: netvsc: Create a common header file for network driver X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5ca7252a7e2be5e05772f202d94e173b7224e7a9;p=linux-beck.git 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 Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen Signed-off-by: Greg Kroah-Hartman --- 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 + * Hank Janssen + * K. Y. Srinivasan + * + */ + +#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 #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 #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 #include "hyperv.h" +#include "hyperv_net.h" #include "netvsc_api.h" #include "rndis_filter.h"