Re: [PATCH v10 1/1] PRUSS UIO driver support

Hans J. Koch
2011-03-04T14:22:25Z

On Fri, Mar 04, 2011 at 10:12:52AM +0530, Pratheesh Gangadhar wrote:
> diff --git a/include/linux/uio_pruss.h b/include/linux/uio_pruss.h
> new file mode 100644
> index 0000000..8c9b2c9
> --- /dev/null
> +++ b/include/linux/uio_pruss.h

That should go to arch/arm/mach-davinci/include/mach/
and not to the top level include/linux/ directory.

> @@ -0,0 +1,25 @@
> +/*
> + * include/linux/uio_pruss.h
> + *
> + * Platform data for uio_pruss driver
> + *
> + * Copyright (C) 2010-11 Texas Instruments Incorporated - http://www.ti.com/
> + *
> + * This program is free software; you can redistribute it and/or
> + * modify it under the terms of the GNU General Public License as
> + * published by the Free Software Foundation version 2.
> + *
> + * This program is distributed "as is" WITHOUT ANY WARRANTY of any
> + * kind, whether express or implied; without even the implied warranty
> + * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> + * GNU General Public License for more details.
> + */
> +
> +#ifndef _UIO_PRUSS_H_
> +#define _UIO_PRUSS_H_
> +
> +/* Used to configure the PRUSS INTC base offset for UIO driver */
> +struct uio_pruss_pdata {
> + u32 pintc_base;
> +};
> +#endif /* _LINUX_UIO_PRUSS_H_ */
> --
> 1.6.0.6
>
>

Thanks,
Hans