From 99874d50481c093adfe74e796436024d88b6a48c Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Fri, 12 Oct 2007 12:50:41 +0200 Subject: [BLOCK] Only include the compat ioctl code if CONFIG_BLOCK is set Add an extra CONFIG_BLOCK_COMPAT that we can use in the Makefile Signed-off-by: Jens Axboe --- block/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'block/Kconfig') diff --git a/block/Kconfig b/block/Kconfig index 2484e0e9d89c9..e10895647f728 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 -- cgit v1.2.3