From: Benjamin Romer Date: Tue, 5 Aug 2014 18:57:45 +0000 (-0400) Subject: staging: unisys: get rid of unused VMMIO types X-Git-Tag: v3.18-rc1~130^2~1404 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=fb75fc5c0b461a971ea82b169e65fb4d07b5fa01;p=karo-tx-linux.git staging: unisys: get rid of unused VMMIO types Delete the unused common VMMIO types in timskmod.h. Signed-off-by: Benjamin Romer Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/unisys/include/timskmod.h b/drivers/staging/unisys/include/timskmod.h index ecf1a6fac7a1..b20fc9dfc4a7 100644 --- a/drivers/staging/unisys/include/timskmod.h +++ b/drivers/staging/unisys/include/timskmod.h @@ -71,17 +71,6 @@ #define HOSTADDRESS unsigned long long #endif -typedef long VMMIO; /**< Virtual MMIO address (returned from ioremap), which - * is a virtual address pointer to a memory-mapped region. - * These are declared as "long" instead of u32* to force you to - * use readb()/writeb()/memcpy_fromio()/etc to access them. - * (On x86 we could probably get away with treating them as - * pointers.) - */ -typedef long VMMIO8; /**< #VMMIO pointing to 8-bit data */ -typedef long VMMIO16;/**< #VMMIO pointing to 16-bit data */ -typedef long VMMIO32;/**< #VMMIO pointing to 32-bit data */ - #define LOCKSEM(sem) down_interruptible(sem) #define LOCKSEM_UNINTERRUPTIBLE(sem) down(sem) #define UNLOCKSEM(sem) up(sem)