Re: [PATCH 2/2] usb: fsl_mxc_udc.c: Fix build issue by including missing header file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Wed, Nov 16, 2011 at 01:14:02AM -0200, Fabio Estevam wrote:
> Fix the following build issue:
> 
>   CC [M]  drivers/usb/gadget/fsl_mxc_udc.o
> drivers/usb/gadget/fsl_mxc_udc.c: In function 'fsl_udc_clk_finalize':
> drivers/usb/gadget/fsl_mxc_udc.c:98: error: implicit declaration of function 'readl'
> drivers/usb/gadget/fsl_mxc_udc.c:100: error: implicit declaration of function 'writel'
> make[3]: *** [drivers/usb/gadget/fsl_mxc_udc.o] Error 1
> make[2]: *** [drivers/usb/gadget] Error 2
> make[1]: *** [drivers/usb] Error 2
> make: *** [drivers] Error 2
> [3]-  Done 
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@xxxxxxxxxxxxx>
> ---
>  drivers/usb/gadget/fsl_mxc_udc.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/usb/gadget/fsl_mxc_udc.c b/drivers/usb/gadget/fsl_mxc_udc.c
> index 43a49ec..23eaecf 100644
> --- a/drivers/usb/gadget/fsl_mxc_udc.c
> +++ b/drivers/usb/gadget/fsl_mxc_udc.c
> @@ -16,6 +16,7 @@
>  #include <linux/err.h>
>  #include <linux/fsl_devices.h>
>  #include <linux/platform_device.h>
> +#include <linux/io.h>

it looks like this driver either never compiled or some recent commit
broke it. It would be nice to know which commit caused the failure.

-- 
balbi

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux