Patch "phy: ti: j721e-wiz: Fix build error without CONFIG_OF_ADDRESS" has been added to the 5.4-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    phy: ti: j721e-wiz: Fix build error without CONFIG_OF_ADDRESS

to the 5.4-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     phy-ti-j721e-wiz-fix-build-error-without-config_of_a.patch
and it can be found in the queue-5.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 6681662d9f6c5bc55b7b9a2617287a2d7cd2ac8e
Author: Hongbo Yao <yaohongbo@xxxxxxxxxx>
Date:   Sat Jan 18 02:53:10 2020 +0530

    phy: ti: j721e-wiz: Fix build error without CONFIG_OF_ADDRESS
    
    [ Upstream commit 42bbdd99221bac206dde2b5e87098177fcd2a48e ]
    
    If CONFIG_OF_ADDRESS is not set and COMPILE_TEST=y, the following
    error is seen while building phy-j721e-wiz.c
    
    drivers/phy/ti/phy-j721e-wiz.o: In function `wiz_remove':
    phy-j721e-wiz.c:(.text+0x1a): undefined reference to
    `of_platform_device_destroy'
    
    Fix the config dependency for PHY_J721E_WIZ here.
    
    Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
    Fixes: 091876cc355d ("phy: ti: j721e-wiz: Add support for WIZ module present in TI J721E SoC")
    Signed-off-by: Hongbo Yao <yaohongbo@xxxxxxxxxx>
    Signed-off-by: Kishon Vijay Abraham I <kishon@xxxxxx>
    Link: https://lore.kernel.org/r/20200117212310.2864-1-kishon@xxxxxx
    Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
    Stable-dep-of: 7124c93887cc ("phy: ti: fix Kconfig warning and operator precedence")
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/phy/ti/Kconfig b/drivers/phy/ti/Kconfig
index af6213b734e6..bb688de9a3ba 100644
--- a/drivers/phy/ti/Kconfig
+++ b/drivers/phy/ti/Kconfig
@@ -36,6 +36,7 @@ config PHY_AM654_SERDES
 config PHY_J721E_WIZ
 	tristate "TI J721E WIZ (SERDES Wrapper) support"
 	depends on OF && ARCH_K3 || COMPILE_TEST
+	depends on HAS_IOMEM && OF_ADDRESS
 	depends on COMMON_CLK
 	select GENERIC_PHY
 	select MULTIPLEXER



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux