On Friday 10 June 2011, Ying-Chun Liu (PaulLiu) wrote:
> 
> From: "Ying-Chun Liu (PaulLiu)" <paul....@linaro.org>
> 
> Add DA9053 headers source code.
> 
> Signed-off-by: Zhou Jingyu <jingyu.z...@freescale.com>
> Acked-by: Lily Zhang <r58...@freescale.com>
> Signed-off-by: Ying-Chun Liu (PaulLiu) <paul....@linaro.org>
> ---
>  include/linux/mfd/da9052/adc.h           |   66 +++
>  include/linux/mfd/da9052/bat.h           |  264 +++++++++
>  include/linux/mfd/da9052/bl.h            |  289 ++++++++++
>  include/linux/mfd/da9052/da9052.h        |  209 +++++++
>  include/linux/mfd/da9052/eh.h            |   77 +++
>  include/linux/mfd/da9052/gpio.h          |  253 ++++++++
>  include/linux/mfd/da9052/led.h           |   39 ++
>  include/linux/mfd/da9052/pm.h            |   81 +++
>  include/linux/mfd/da9052/reg.h           |  929 
> ++++++++++++++++++++++++++++++
>  include/linux/mfd/da9052/rtc.h           |  322 +++++++++++
>  include/linux/mfd/da9052/tsi.h           |  427 ++++++++++++++
>  include/linux/mfd/da9052/tsi_calibrate.h |   47 ++
>  include/linux/mfd/da9052/tsi_cfg.h       |  132 +++++
>  include/linux/mfd/da9052/tsi_filter.h    |   58 ++
>  include/linux/mfd/da9052/wdt.h           |   83 +++

Make sure that all header files are as local as possible:

* If data is used in only one file, put it into that file, not into a header
* If it's used by two files in the same directory, make it a local header file
* Anything that is an interface between components in multiple directories
  goes into include/linux.

        Arnd

_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to