summaryrefslogtreecommitdiff
path: root/windhoek/genhd.c
diff options
context:
space:
mode:
authorZheng Da <zhengda1936@gmail.com>2010-05-31 17:51:05 +0200
committerZheng Da <zhengda1936@gmail.com>2010-05-31 17:51:05 +0200
commit939878cb52cbfe18fd3151bc25d686d6aafc7cce (patch)
tree9133a05c4ed4a5ee5af4886b43a184c8def6de9e /windhoek/genhd.c
parent2fe1437bd35016309e9ac4cfe57fb3daca3ba0a0 (diff)
windhoek can be compiled.
Diffstat (limited to 'windhoek/genhd.c')
-rw-r--r--windhoek/genhd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/windhoek/genhd.c b/windhoek/genhd.c
index 5b6140f6..30cf03de 100644
--- a/windhoek/genhd.c
+++ b/windhoek/genhd.c
@@ -14,7 +14,8 @@
#include <linux/hdreg.h>
#include <linux/ide.h>
-#include "windhoek_local.h"
+#define MAX_GENDISKS 10
+#define DEBUG_MSG(msg, ...) printk("%s: \033[34m"msg"\033[0m\n", __FUNCTION__, ##__VA_ARGS__)
/*
* Array for storing all known block devices