summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@mindspring.com>2007-10-20 00:25:12 +0200
committerAdrian Bunk <bunk@kernel.org>2007-10-20 00:26:10 +0200
commit5a56db1c0fe196eea896078338fbf9258ab8365b (patch)
tree4b2a9ddebe60a15893a0ce778ad4a9b84b684f1f /lib
parent5c5f4fee64adec284fbdc0196675a345e84ab638 (diff)
downloadop-kernel-dev-5a56db1c0fe196eea896078338fbf9258ab8365b.zip
op-kernel-dev-5a56db1c0fe196eea896078338fbf9258ab8365b.tar.gz
LIB: Replace inappropriate include of <linux/bug.h>
Replace an irrelevant include of bug.h with the more appropriate includes of slab.h and module.h. it's not as if the original inclusion is an error, it's simply not related to the contents of that source file, while the other two are. compile-tested on i386. Signed-off-by: Robert P. J. Day <rpjday@mindspring.com> Signed-off-by: Adrian Bunk <bunk@kernel.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/argv_split.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/argv_split.c b/lib/argv_split.c
index fad6ce4..5205a8d 100644
--- a/lib/argv_split.c
+++ b/lib/argv_split.c
@@ -4,7 +4,8 @@
#include <linux/kernel.h>
#include <linux/ctype.h>
-#include <linux/bug.h>
+#include <linux/slab.h>
+#include <linux/module.h>
static const char *skip_sep(const char *cp)
{
OpenPOWER on IntegriCloud