summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--block/Kconfig4
-rw-r--r--block/Makefile2
2 files changed, 5 insertions, 1 deletions
diff --git a/block/Kconfig b/block/Kconfig
index 2484e0e..e108956 100644
--- a/block/Kconfig
+++ b/block/Kconfig
@@ -62,6 +62,10 @@ config BLK_DEV_BSG
protocols (e.g. Task Management Functions and SMP in Serial
Attached SCSI).
+config BLOCK_COMPAT
+ bool
+ default y
+
endif # BLOCK
source block/Kconfig.iosched
diff --git a/block/Makefile b/block/Makefile
index 3cfe7ce..8261081 100644
--- a/block/Makefile
+++ b/block/Makefile
@@ -11,4 +11,4 @@ obj-$(CONFIG_IOSCHED_DEADLINE) += deadline-iosched.o
obj-$(CONFIG_IOSCHED_CFQ) += cfq-iosched.o
obj-$(CONFIG_BLK_DEV_IO_TRACE) += blktrace.o
-obj-$(CONFIG_COMPAT) += compat_ioctl.o
+obj-$(CONFIG_BLOCK_COMPAT) += compat_ioctl.o
OpenPOWER on IntegriCloud