summaryrefslogtreecommitdiffstats
path: root/drivers/ata/Kconfig
diff options
context:
space:
mode:
authorGeorge Spelvin2014-08-07 01:09:27 +0200
committerLinus Torvalds2014-08-07 03:01:25 +0200
commit428ac5fc056e06dc0b4ed82d5979add9a8c62b35 (patch)
treeab1f3f48171f0277f43af42569612b52af7143ca /drivers/ata/Kconfig
parentlib/glob.c: add CONFIG_GLOB_SELFTEST (diff)
downloadkernel-qcow2-linux-428ac5fc056e06dc0b4ed82d5979add9a8c62b35.tar.gz
kernel-qcow2-linux-428ac5fc056e06dc0b4ed82d5979add9a8c62b35.tar.xz
kernel-qcow2-linux-428ac5fc056e06dc0b4ed82d5979add9a8c62b35.zip
libata: Use glob_match from lib/glob.c
The function may be useful for other drivers, so export it. (Suggested by Tejun Heo.) Note that I inverted the return value of glob_match; returning true on match seemed to make more sense. Signed-off-by: George Spelvin <linux@horizon.com> Cc: Randy Dunlap <rdunlap@infradead.org> Cc: Tejun Heo <tj@kernel.org> Cc: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/ata/Kconfig')
-rw-r--r--drivers/ata/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig
index e65d400efd44..e1b92788c225 100644
--- a/drivers/ata/Kconfig
+++ b/drivers/ata/Kconfig
@@ -16,6 +16,7 @@ menuconfig ATA
depends on BLOCK
depends on !(M32R || M68K || S390) || BROKEN
select SCSI
+ select GLOB
---help---
If you want to use an ATA hard disk, ATA tape drive, ATA CD-ROM or
any other ATA device under Linux, say Y and make sure that you know