Re: [PATCH] driver core: export device_is_bound() to fix build failure

2020-11-09 Thread Christoph Hellwig
On Fri, Nov 06, 2020 at 03:37:44PM +, Sudip Mukherjee wrote: > When CONFIG_MXC_CLK_SCU is configured as 'm' the build fails as it > is unable to find device_is_bound(). The error being: > ERROR: modpost: "device_is_bound" [drivers/clk/imx/clk-imx-scu.ko] > undefined! > > Export the

Re: [PATCH] driver core: export device_is_bound() to fix build failure

2020-11-07 Thread Greg Kroah-Hartman
On Fri, Nov 06, 2020 at 03:37:44PM +, Sudip Mukherjee wrote: > When CONFIG_MXC_CLK_SCU is configured as 'm' the build fails as it > is unable to find device_is_bound(). The error being: > ERROR: modpost: "device_is_bound" [drivers/clk/imx/clk-imx-scu.ko] > undefined! > > Export the

[PATCH] driver core: export device_is_bound() to fix build failure

2020-11-06 Thread Sudip Mukherjee
When CONFIG_MXC_CLK_SCU is configured as 'm' the build fails as it is unable to find device_is_bound(). The error being: ERROR: modpost: "device_is_bound" [drivers/clk/imx/clk-imx-scu.ko] undefined! Export the symbol so that the module finds it. Signed-off-by: Sudip Mukherjee ---