]> git.baikalelectronics.ru Git - kernel.git/commit
can: c_can_pci: fix compilation on non HAVE_CLK archs
authorMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 20 Jun 2012 06:04:26 +0000 (06:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Jun 2012 20:46:29 +0000 (13:46 -0700)
commitb3848ebad0eca318f1f5f920ee9551ee98779fa7
tree41abc4a03a50aede07e2f59021494894d9716d32
parent6be1703d0c0f9ef61f2d44a988fd2f0a1dbc94cb
can: c_can_pci: fix compilation on non HAVE_CLK archs

In commit:

  b6ed92f c_can_pci: generic module for C_CAN/D_CAN on PCI

the c_can_pci driver has been added. It uses clk_*() functions
resulting in a link error on archs without clock support. This
patch removed these clk_() functions as these parts of the driver
are not tested.

Cc: Federico Vaga <federico.vaga@gmail.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/can/c_can/c_can_pci.c