projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
libata: add CONFIG_PM to libata core layer
[powerpc.git]
/
block
/
genhd.c
diff --git
a/block/genhd.c
b/block/genhd.c
index
457fdac
..
050a1f0
100644
(file)
--- a/
block/genhd.c
+++ b/
block/genhd.c
@@
-5,6
+5,7
@@
#include <linux/module.h>
#include <linux/fs.h>
#include <linux/genhd.h>
#include <linux/module.h>
#include <linux/fs.h>
#include <linux/genhd.h>
+#include <linux/kdev_t.h>
#include <linux/kernel.h>
#include <linux/blkdev.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/blkdev.h>
#include <linux/init.h>
@@
-61,6
+62,8
@@
int register_blkdev(unsigned int major, const char *name)
/* temporary */
if (major == 0) {
for (index = ARRAY_SIZE(major_names)-1; index > 0; index--) {
/* temporary */
if (major == 0) {
for (index = ARRAY_SIZE(major_names)-1; index > 0; index--) {
+ if (is_lanana_major(index))
+ continue;
if (major_names[index] == NULL)
break;
}
if (major_names[index] == NULL)
break;
}