summaryrefslogtreecommitdiffstats
path: root/include/asm-s390/s390_rdev.h
diff options
context:
space:
mode:
authorCarsten Otte <cotte@de.ibm.com>2006-01-06 09:19:14 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-06 17:33:49 +0100
commitcfb1b55595a0dfd87b5849e8d0216c029f34445f (patch)
tree86d73bda5e9c82e70a4bdbacfac6be5644c8a987 /include/asm-s390/s390_rdev.h
parent[PATCH] s390: re-activated path detection (diff)
downloadlinux-cfb1b55595a0dfd87b5849e8d0216c029f34445f.tar.xz
linux-cfb1b55595a0dfd87b5849e8d0216c029f34445f.zip
[PATCH] s390: move s390_root_dev_* out of the cio layer
Extract the s390_root_dev_* functions from the common I/O layer as they are also used by non-ccw device drivers. Signed-off-by: Carsten Otte <cotte@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-s390/s390_rdev.h')
-rw-r--r--include/asm-s390/s390_rdev.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/asm-s390/s390_rdev.h b/include/asm-s390/s390_rdev.h
new file mode 100644
index 000000000000..3ad78f2b9c48
--- /dev/null
+++ b/include/asm-s390/s390_rdev.h
@@ -0,0 +1,15 @@
+/*
+ * include/asm-s390/ccwdev.h
+ *
+ * Copyright (C) 2002,2005 IBM Deutschland Entwicklung GmbH, IBM Corporation
+ * Author(s): Cornelia Huck <cohuck@de.ibm.com>
+ * Carsten Otte <cotte@de.ibm.com>
+ *
+ * Interface for s390 root device
+ */
+
+#ifndef _S390_RDEV_H_
+#define _S390_RDEV_H_
+extern struct device *s390_root_dev_register(const char *);
+extern void s390_root_dev_unregister(struct device *);
+#endif /* _S390_RDEV_H_ */