Staging: hv: remove Sources.c
authorGreg Kroah-Hartman <gregkh@suse.de>
Tue, 18 Aug 2009 00:22:08 +0000 (17:22 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:01:55 +0000 (12:01 -0700)
It's a .c file including other .c files, ick.
Remove that mess now that the header files are unwound.

Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/Channel.c
drivers/staging/hv/ChannelInterface.c
drivers/staging/hv/ChannelMgmt.c
drivers/staging/hv/Connection.c
drivers/staging/hv/Hv.c
drivers/staging/hv/Makefile
drivers/staging/hv/RingBuffer.c
drivers/staging/hv/Sources.c [deleted file]

index 89ddbf1c83b2494216e8c7669de1bf790c113f67..a8398a2168489f6089f904a9d4b4afd18236c64f 100644 (file)
@@ -22,6 +22,7 @@
  */
 
 #include <linux/kernel.h>
+#include <linux/mm.h>
 #include "include/osd.h"
 #include "include/logging.h"
 
index 6a30691343a3aa840c961e64040e29266b1eebf3..23a1e179ba1c2d91c616d6a7029a168ea1ba2b96 100644 (file)
  *
  */
 
+#include <linux/kernel.h>
+#include <linux/mm.h>
+#include "include/osd.h"
+
 #include "VmbusPrivate.h"
 
 static int
index 79770c84bddcae4a566a22c2b65d58e616cdf920..4680e14e6797ea7173491eb9724c648aee902736 100644 (file)
@@ -22,6 +22,8 @@
  */
 
 
+#include <linux/kernel.h>
+#include <linux/mm.h>
 #include "include/osd.h"
 #include "include/logging.h"
 
index 0370a0b01a3fb22d395259948ee448a5d5f2eac7..01aa669006ae0c1bde7f13eb2cf6d20dbc2a6352 100644 (file)
  */
 
 
+#include <linux/kernel.h>
+#include <linux/mm.h>
+#include <linux/vmalloc.h>
 #include "include/logging.h"
-
 #include "VmbusPrivate.h"
 
 /* Globals */
index 438bc2e42d39b6935cca78dd61a2963a301b23fb..c228e6053f656196baec8eda8e52c90b35758899 100644 (file)
@@ -21,8 +21,9 @@
  *
  */
 
+#include <linux/kernel.h>
+#include <linux/mm.h>
 #include <linux/vmalloc.h>
-#include <asm/io.h>
 #include "include/logging.h"
 #include "VmbusPrivate.h"
 
index f6ad6707b2cedb6075bffd267ec07d2791105797..27ebae8a918590b194b62beb01ec0536975b4ca8 100644 (file)
@@ -3,7 +3,9 @@ obj-$(CONFIG_HYPERV_STORAGE)    += hv_storvsc.o
 obj-$(CONFIG_HYPERV_BLOCK)     += hv_blkvsc.o
 obj-$(CONFIG_HYPERV_NET)       += hv_netvsc.o
 
-hv_vmbus-objs := vmbus_drv.o osd.o Sources.o
+hv_vmbus-objs := vmbus_drv.o osd.o \
+                Vmbus.o Hv.o Connection.o Channel.o \
+                ChannelMgmt.o ChannelInterface.o RingBuffer.o
 hv_storvsc-objs := storvsc_drv.o StorVsc.o
 hv_blkvsc-objs := blkvsc_drv.o BlkVsc.o
 hv_netvsc-objs := netvsc_drv.o NetVsc.o RndisFilter.o
index 0ea6a0f4a22da01441a88090ee6aa9110b1b41f9..f7332f300c4555df34f0523a763e8e65fee3d1d8 100644 (file)
@@ -21,7 +21,8 @@
  *
  */
 
-
+#include <linux/kernel.h>
+#include <linux/mm.h>
 #include "include/logging.h"
 #include "RingBuffer.h"
 
diff --git a/drivers/staging/hv/Sources.c b/drivers/staging/hv/Sources.c
deleted file mode 100644 (file)
index 3db16a7..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- *
- * Copyright (c) 2009, 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>
- *
- */
-
-#include "Vmbus.c"
-#include "Hv.c"
-#include "Connection.c"
-#include "Channel.c"
-#include "ChannelMgmt.c"
-#include "ChannelInterface.c"
-#include "RingBuffer.c"