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)
commit1aa2d1daf067c8c9e625449e2e6f54caa3e34023
tree41abc4a03a50aede07e2f59021494894d9716d32
parent41063e9dd11956f2d285e12e4342e1d232ba0ea2
can: c_can_pci: fix compilation on non HAVE_CLK archs

In commit:

  5b92da0 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