]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/patches/suse-2.6.27.31/patches.drivers/staging-workaround-build-system-bug.patch
Revert "Move xen patchset to new version's subdir."
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.31 / patches.drivers / staging-workaround-build-system-bug.patch
diff --git a/src/patches/suse-2.6.27.31/patches.drivers/staging-workaround-build-system-bug.patch b/src/patches/suse-2.6.27.31/patches.drivers/staging-workaround-build-system-bug.patch
deleted file mode 100644 (file)
index dcb39e6..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-From: Greg Kroah-Hartman <gregkh@suse.de>
-Subject: Staging: workaround build system bug
-Patch-mainline: 2.6.28
-
-This is needed as CONFIG_STAGING is set to y, yet there is no code in
-drivers/staging/ to build, so the build-in.o doesn't get created
-properly.  Create a "dummy" module in drivers/staging called staging.c
-to work around this bug.
-
-Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-
----
- drivers/staging/Makefile  |    3 +++
- drivers/staging/staging.c |   19 +++++++++++++++++++
- 2 files changed, 22 insertions(+)
-
---- a/drivers/staging/Makefile
-+++ b/drivers/staging/Makefile
-@@ -1,5 +1,8 @@
- # Makefile for staging directory
-+# fix for build system bug...
-+obj-$(CONFIG_STAGING)         += staging.o
-+
- obj-$(CONFIG_ET131X)          += et131x/
- obj-$(CONFIG_SLICOSS)         += slicoss/
- obj-$(CONFIG_SXG)             += sxg/
---- /dev/null
-+++ b/drivers/staging/staging.c
-@@ -0,0 +1,19 @@
-+#include <linux/kernel.h>
-+#include <linux/init.h>
-+#include <linux/module.h>
-+
-+static int __init staging_init(void)
-+{
-+      return 0;
-+}
-+
-+static void __exit staging_exit(void)
-+{
-+}
-+
-+module_init(staging_init);
-+module_exit(staging_exit);
-+
-+MODULE_AUTHOR("Greg Kroah-Hartman");
-+MODULE_DESCRIPTION("Staging Core");
-+MODULE_LICENSE("GPL");