20 Jun 2012 12:25
[PATCH] can: c_can_pci: fix compilation on non HAVE_CLK archs
Marc Kleine-Budde <mkl <at> pengutronix.de>
2012-06-20 10:25:10 GMT
2012-06-20 10:25:10 GMT
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 hasn't been tested. Cc: Federico Vaga <federico.vaga <at> gmail.com> Signed-off-by: Marc Kleine-Budde <mkl <at> pengutronix.de> --- Hello Federico, please test on your hardware. If it works please send me your: Tested-by. Thanks, Marc drivers/net/can/c_can/c_can_pci.c | 29 +++++++---------------------- 1 file changed, 7 insertions(+), 22 deletions(-) diff --git a/drivers/net/can/c_can/c_can_pci.c b/drivers/net/can/c_can/c_can_pci.c index 914aecf..1011146 100644 --- a/drivers/net/can/c_can/c_can_pci.c +++ b/drivers/net/can/c_can/c_can_pci.c <at> <at> -13,7 +13,6 <at> <at> #include <linux/kernel.h> #include <linux/module.h> #include <linux/netdevice.h>(Continue reading)
RSS Feed