]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: ti: cpts: fix build failure for powerpc
authorGrygorii Strashko <grygorii.strashko@ti.com>
Tue, 11 Jun 2019 11:16:32 +0000 (14:16 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Jun 2019 18:21:53 +0000 (11:21 -0700)
commitace2c6fef29eee954326cc88d3a6e8c7e7db114e
treec3ae191ffef9d5c8c465b2061d1b60e3f402a258
parentb57eee1e388bde3838fd7b41d1479a91dc1a1528
net: ethernet: ti: cpts: fix build failure for powerpc

Add dependency to TI CPTS from Common CLK framework COMMON_CLK to fix
allyesconfig build for Powerpc:

drivers/net/ethernet/ti/cpts.c: In function 'cpts_of_mux_clk_setup':
drivers/net/ethernet/ti/cpts.c:567:2: error: implicit declaration of function 'of_clk_parent_fill'; did you mean 'of_clk_get_parent_name'? [-Werror=implicit-function-declaration]
  of_clk_parent_fill(refclk_np, parent_names, num_parents);
  ^~~~~~~~~~~~~~~~~~
  of_clk_get_parent_name

Fixes: bc8251d58e88 ("net: ethernet: ti: cpts: add support for ext rftclk selection")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/Kconfig