]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/serial/sunsab.c: adjust the constant used to initialize the interrupt_mask0...
authorJulia Lawall <julia@diku.dk>
Tue, 16 Mar 2010 07:33:37 +0000 (00:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Mar 2010 07:33:37 +0000 (00:33 -0700)
commit7407117844a1e95d1aa541ea4f4c2386f7e7a6bc
tree17c14d574456615da87bad786c8fd90690cea98a
parent6ca6600170afcb9342bad89fb8692fc83f385e37
drivers/serial/sunsab.c: adjust the constant used to initialize the interrupt_mask0 fields

From: Julia Lawall <julia@diku.dk>

SAB82532_ISR0_TCD is declared in drivers/serial/subsab.h as relating to a
status register, while SAB82532_IMR0_TCD is declared in the same file as
relating to a mask register.  The latter seems more appropriate for the
interrupt_mask0 field, and follows the strategy for initializing this field
elsewhere in the same file.

Both SAB82532_ISR0_TCD and SAB82532_IMR0_TCD have the same value.

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/serial/sunsab.c