diff options
author | Damien Le Moal <damien.lemoal@opensource.wdc.com> | 2022-10-14 11:39:27 +0900 |
---|---|---|
committer | Damien Le Moal <damien.lemoal@opensource.wdc.com> | 2022-10-18 08:05:10 +0900 |
commit | dc62c7e6ed5351058bbb57495e73fa6b3757587a (patch) | |
tree | 9c4297eed9332b606b9f404e4e0c92e9adec600c /drivers/ata/Kconfig | |
parent | 6c4c900b7397365c1c1559fce90a50f1937921ee (diff) |
ata: pata_ftide010: Remove build dependency on OF
The pata_ftide010 can be built without CONFIG_OF being enabled, as long
as the macro of_match_ptr() is not used when initializing the platform
driver .of_match_table field.
Remove the use of this macro and the build dependency on OF.
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Diffstat (limited to 'drivers/ata/Kconfig')
-rw-r--r-- | drivers/ata/Kconfig | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig index 37e065106baf..b30f71859154 100644 --- a/drivers/ata/Kconfig +++ b/drivers/ata/Kconfig @@ -696,7 +696,6 @@ config PATA_EP93XX config PATA_FTIDE010 tristate "Faraday Technology FTIDE010 PATA support" - depends on OF depends on ARM || COMPILE_TEST depends on SATA_GEMINI help |