Marc Kleine-Budde | 20 Jun 2012 12:25
Picon
Favicon

[PATCH] 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
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)

Marc Kleine-Budde | 20 Jun 2012 15:04
Picon
Favicon

Re: [PATCH] can: c_can_pci: fix compilation on non HAVE_CLK archs

Hello Federico,

have you found Time to test the patch?

Marc
On 06/20/2012 12:25 PM, Marc Kleine-Budde wrote:
> 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
(Continue reading)


Gmane