projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] wext: extend MLME support
[firefly-linux-kernel-4.4.55.git]
/
include
/
linux
/
genhd.h
diff --git
a/include/linux/genhd.h
b/include/linux/genhd.h
index e4af57e87c178ab0bff22b97b2e710e72a870428..41f276fdd185f6b16b4edb280041a23fa642440c 100644
(file)
--- a/
include/linux/genhd.h
+++ b/
include/linux/genhd.h
@@
-11,6
+11,8
@@
#include <linux/types.h>
+#ifdef CONFIG_BLOCK
+
enum {
/* These three have identical behaviour; use the second one if DOS FDISK gets
confused about extended/logical partitions starting past cylinder 1023. */
@@
-420,3
+422,5
@@
static inline struct block_device *bdget_disk(struct gendisk *disk, int index)
#endif
#endif
+
+#endif