lkml.org 
[lkml]   [2021]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.14 223/334] clk: staging: correct reference to config IOMEM to config HAS_IOMEM
    Date
    From: Lukas Bulwahn <lukas.bulwahn@gmail.com>

    [ Upstream commit cbfa6f33e3a685c329d78e06b0cf1dcb23c9d849 ]

    Commit 0a0a66c984b3 ("clk: staging: Specify IOMEM dependency for Xilinx
    Clocking Wizard driver") introduces a dependency on the non-existing config
    IOMEM, which basically makes it impossible to include this driver into any
    build. Fortunately, ./scripts/checkkconfigsymbols.py warns:

    IOMEM
    Referencing files: drivers/staging/clocking-wizard/Kconfig

    The config for IOMEM support is called HAS_IOMEM. Correct this reference to
    the intended config.

    Fixes: 0a0a66c984b3 ("clk: staging: Specify IOMEM dependency for Xilinx Clocking Wizard driver")
    Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
    Link: https://lore.kernel.org/r/20210817105404.13146-1-lukas.bulwahn@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    drivers/staging/clocking-wizard/Kconfig | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/drivers/staging/clocking-wizard/Kconfig b/drivers/staging/clocking-wizard/Kconfig
    index 69cf51445f08..2324b5d73788 100644
    --- a/drivers/staging/clocking-wizard/Kconfig
    +++ b/drivers/staging/clocking-wizard/Kconfig
    @@ -5,6 +5,6 @@

    config COMMON_CLK_XLNX_CLKWZRD
    tristate "Xilinx Clocking Wizard"
    - depends on COMMON_CLK && OF && IOMEM
    + depends on COMMON_CLK && OF && HAS_IOMEM
    help
    Support for the Xilinx Clocking Wizard IP core clock generator.
    --
    2.30.2


    \
     
     \ /
      Last update: 2021-09-13 16:42    [W:2.037 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site