]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ARM] ecard: Convert card type enum to a flag
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Thu, 3 May 2007 09:47:37 +0000 (10:47 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 3 May 2007 13:16:56 +0000 (14:16 +0100)
commit5559bca8e66f968192a5416d953c88cc3389cb22
tree241caa63eaa9dfdb57c6ed7ee476cff020a8b1b7
parentc0b04d1b2c427629b2dbe066422a507ad855bf61
[ARM] ecard: Convert card type enum to a flag

'type' in the struct expansion_card is only used to indicate
whether this card is an EASI card or not.  Therefore, having
it as an enum is wasteful (and introduces additional noise
when we come to remove the enum.)  Convert it to a mere flag
instead.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/ecard.c
include/asm-arm/ecard.h