drivers/net/can/m_can/Kconfig: Let CAN_M_CAN depend on HAS_IOMEM
Subsystems (4)
PATCH 1/1 drivers/net/can/m_can/Kconfig: Let CAN_M_CAN depend on HAS_IOMEM
CAN_M_CAN needs HAS_IOMEM, so depend on it, the related error (with allmodconfig under um):
MODPOST 1205 modules
ERROR: "devm_ioremap" [drivers/net/can/m_can/m_can.ko] undefined!
ERROR: "devm_ioremap_resource" [drivers/net/can/m_can/m_can.ko] undefined!
--- drivers/net/can/m_can/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/net/can/m_can/Kconfig +1 -0
@@ -1,4 +1,5 @@ config CAN_M_CAN tristate "Bosch M_CAN devices" + depends on HAS_IOMEM ---help--- Say Y here if you want to support for Bosch M_CAN controller.
Signature · 1 line
1.9.3
Hi Chen Gang
I think commit message should be short and proper.
We can remove *drivers/net/can/m_can/Kconfig* in the commit, just give *can: Kconfig: *
commit message like : *can: Kconfig: Fix CAN_M_CAN dependency*
Quoted 22 lines · Chen Gang
CAN_M_CANneedsHAS_IOMEM, so depend on it, the related error (with allmodconfig under um):MODPOST 1205 modules
ERROR: "devm_ioremap" [drivers/net/can/m_can/m_can.ko] undefined!
ERROR: "devm_ioremap_resource" [drivers/net/can/m_can/m_can.ko] undefined!Signed-off-by Chen Gang <[email protected]>--- drivers/net/can/m_can/Kconfig | 1 + 1 file changed, 1 insertion(+)drivers/net/can/m_can/Kconfig +1
-0@@ -1,4 +1,5 @@ config CAN_M_CAN tristate "Bosch M_CAN devices" + depends on HAS_IOMEM ---help--- Say Y here if you want to support for Bosch M_CAN controller.
Signature · 2 lines
Thanks and Regards, Varka Bhadram.
Quoted 10 lines · Varka Bhadram
Hi Chen Gang
I think commit message should be short and proper.
We can remove *drivers/net/can/m_can/Kconfig* in the commit, just give *can:
Kconfig: *commit message like : *can:
Kconfig: FixCAN_M_CANdependency*
OK, thanks, it sounds good to me. If necessary to send patch v2 for it, please let me know.
Thanks.
Quoted 24 lines · Chen Gang
Quoted 22 lines
CAN_M_CANneedsHAS_IOMEM, so depend on it, the related error (with allmodconfig under um):MODPOST 1205 modules
ERROR: "devm_ioremap" [drivers/net/can/m_can/m_can.ko] undefined!
ERROR: "devm_ioremap_resource" [drivers/net/can/m_can/m_can.ko] undefined!Signed-off-by Chen Gang <[email protected]>--- drivers/net/can/m_can/Kconfig | 1 + 1 file changed, 1 insertion(+)drivers/net/can/m_can/Kconfig +1
-0@@ -1,4 +1,5 @@ config CAN_M_CAN tristate "Bosch M_CAN devices" + depends on HAS_IOMEM ---help--- Say Y here if you want to support for Bosch M_CAN controller.
Signature · 3 lines
Chen Gang Open, share, and attitude like air, water, and life which God blessed