diff mbox

Make FPGA a menuconfig to ease disabling it all

Message ID 20170414223946.18999-2-vincent.legoll@gmail.com (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Vincent Legoll April 14, 2017, 10:39 p.m. UTC
No need to get into the submenu to disable all FPGA-related config entries

Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
 drivers/fpga/Kconfig | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

Comments

Alan Tull May 24, 2017, 3:35 p.m. UTC | #1
On Fri, Apr 14, 2017 at 5:39 PM, Vincent Legoll
<vincent.legoll@gmail.com> wrote:

Hi Vincent,

Thanks!

Alan

> No need to get into the submenu to disable all FPGA-related config entries
>
> Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>

Signed-off-by: Alan Tull <atull@kernel.org>

> ---
>  drivers/fpga/Kconfig | 6 +-----
>  1 file changed, 1 insertion(+), 5 deletions(-)
>
> diff --git a/drivers/fpga/Kconfig b/drivers/fpga/Kconfig
> index ce861a2..2cb9b81 100644
> --- a/drivers/fpga/Kconfig
> +++ b/drivers/fpga/Kconfig
> @@ -2,9 +2,7 @@
>  # FPGA framework configuration
>  #
>
> -menu "FPGA Configuration Support"
> -
> -config FPGA
> +menuconfig FPGA
>         tristate "FPGA Configuration Framework"
>         help
>           Say Y here if you want support for configuring FPGAs from the
> @@ -64,5 +62,3 @@ config ALTERA_FREEZE_BRIDGE
>           region is being reprogrammed.
>
>  endif # FPGA
> -
> -endmenu
> --
> 2.9.3
>
--
To unsubscribe from this list: send the line "unsubscribe linux-fpga" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Moritz Fischer May 24, 2017, 7:11 p.m. UTC | #2
On Wed, May 24, 2017 at 8:35 AM, Alan Tull <atull@kernel.org> wrote:
> On Fri, Apr 14, 2017 at 5:39 PM, Vincent Legoll
> <vincent.legoll@gmail.com> wrote:
>
> Hi Vincent,
>
> Thanks!
>
> Alan
>
>> No need to get into the submenu to disable all FPGA-related config entries
>>
>> Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
Acked-by: Moritz Fischer <mdf@kernel.org>
>
> Signed-off-by: Alan Tull <atull@kernel.org>
>
>> ---
>>  drivers/fpga/Kconfig | 6 +-----
>>  1 file changed, 1 insertion(+), 5 deletions(-)
>>
>> diff --git a/drivers/fpga/Kconfig b/drivers/fpga/Kconfig
>> index ce861a2..2cb9b81 100644
>> --- a/drivers/fpga/Kconfig
>> +++ b/drivers/fpga/Kconfig
>> @@ -2,9 +2,7 @@
>>  # FPGA framework configuration
>>  #
>>
>> -menu "FPGA Configuration Support"
>> -
>> -config FPGA
>> +menuconfig FPGA
>>         tristate "FPGA Configuration Framework"
>>         help
>>           Say Y here if you want support for configuring FPGAs from the
>> @@ -64,5 +62,3 @@ config ALTERA_FREEZE_BRIDGE
>>           region is being reprogrammed.
>>
>>  endif # FPGA
>> -
>> -endmenu
>> --
>> 2.9.3
>>
--
To unsubscribe from this list: send the line "unsubscribe linux-fpga" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/fpga/Kconfig b/drivers/fpga/Kconfig
index ce861a2..2cb9b81 100644
--- a/drivers/fpga/Kconfig
+++ b/drivers/fpga/Kconfig
@@ -2,9 +2,7 @@ 
 # FPGA framework configuration
 #
 
-menu "FPGA Configuration Support"
-
-config FPGA
+menuconfig FPGA
 	tristate "FPGA Configuration Framework"
 	help
 	  Say Y here if you want support for configuring FPGAs from the
@@ -64,5 +62,3 @@  config ALTERA_FREEZE_BRIDGE
 	  region is being reprogrammed.
 
 endif # FPGA
-
-endmenu