[PATCH v6 11/12] davinci: add tnetv107x evm backlight device

Sergei Shtylyov sshtylyov at mvista.com
Fri Nov 19 12:11:59 EST 2010


Hello.

Cyril Chemparathy wrote:

>>> The tnetv107x evm board has a backlight device that is connected on one of the
>>> SSP ports.  This patch adds the board definitions necessary to plug the
>>> backlight driver to the GPIO corresponding to this SSP pin.
>>> Signed-off-by: Cyril Chemparathy <cyril at ti.com>
>>> ---
>>>  arch/arm/mach-davinci/board-tnetv107x-evm.c |   14 ++++++++++++++
>>>  1 files changed, 14 insertions(+), 0 deletions(-)
>>> diff --git a/arch/arm/mach-davinci/board-tnetv107x-evm.c b/arch/arm/mach-davinci/board-tnetv107x-evm.c
>>> index e3863dd..ac62de2 100644
>>> --- a/arch/arm/mach-davinci/board-tnetv107x-evm.c
>>> +++ b/arch/arm/mach-davinci/board-tnetv107x-evm.c
>>> @@ -44,6 +44,7 @@
>>>  #define EVM_MMC_WP_GPIO		21
>>>  #define EVM_MMC_CD_GPIO		24
>>>  #define EVM_SPI_CS_GPIO		54
>>> +#define EVM_BACKLIGHT_GPIO	(SSP_GPIO_START + 2)

>>     Why it's not aligned with others?

> It actually is aligned if you remove the leading space/+.

    Heh, realized that after sending. :-)
    That's why I use spaces instead of one-space tab. Unfortunately, 
scripts/checkpatch.pl does not like it now... :-/

> Regards
> Cyril.

WBR, Sergei



More information about the linux-arm-kernel mailing list