Re: [PATCH 4/8] usb: musb: Change to use new IO access

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

 



On Mon, Nov 24, 2014 at 11:05:02AM -0800, Tony Lindgren wrote:
> @@ -312,10 +345,40 @@ void musb_read_fifo(struct musb_hw_ep *hw_ep, u16 len, u8 *dst)
>  		ioread8_rep(fifo, dst, len);
>  	}
>  }
> -#endif
>  
> -#endif	/* normal PIO */
> +/*
> + * Old style IO functions
> + */
> +u8 (*musb_readb)(const void __iomem *addr, unsigned offset);
> +EXPORT_SYMBOL(musb_readb);
> +
> +void (*musb_writeb)(void __iomem *addr, unsigned offset, u8 data);
> +EXPORT_SYMBOL(musb_writeb);
>  
> +u16 (*musb_readw)(const void __iomem *addr, unsigned offset);
> +EXPORT_SYMBOL(musb_readw);
> +
> +void (*musb_writew)(void __iomem *addr, unsigned offset, u16 data);
> +EXPORT_SYMBOL(musb_writew);
> +
> +u32 (*musb_readl)(const void __iomem *addr, unsigned offset);
> +EXPORT_SYMBOL(musb_readl);
> +
> +void (*musb_writel)(void __iomem *addr, unsigned offset, u32 data);
> +EXPORT_SYMBOL(musb_writel);

let's make all these _GPL()

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