mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
[PATCH] cs89x0: use #elif instead of #else/#if/#endif
Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
032874e492
commit
580d7b8cc5
1 changed files with 1 additions and 3 deletions
|
@ -353,8 +353,7 @@ writeword(unsigned long base_addr, int portno, int value)
|
|||
{
|
||||
__raw_writel((u16)value, base_addr + (portno << 1));
|
||||
}
|
||||
#else
|
||||
#if defined(CONFIG_ARCH_PNX010X)
|
||||
#elif defined(CONFIG_ARCH_PNX010X)
|
||||
static int
|
||||
readword(unsigned long base_addr, int portno)
|
||||
{
|
||||
|
@ -379,7 +378,6 @@ writeword(unsigned long base_addr, int portno, int value)
|
|||
outw(value, base_addr + portno);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
static void
|
||||
readwords(unsigned long base_addr, int portno, void *buf, int length)
|
||||
|
|
Loading…
Reference in a new issue