[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1273167377-14270-13-git-send-email-jolsa@redhat.com>
Date: Thu, 6 May 2010 19:36:16 +0200
From: Jiri Olsa <jolsa@...hat.com>
To: kernel-janitors@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, linux@....linux.org.uk,
ysato@...rs.sourceforge.jp, tony.luck@...el.com,
dhowells@...hat.com, kyle@...artin.ca, benh@...nel.crashing.org,
schwidefsky@...ibm.com, jgarzik@...ox.com, hare@...e.de,
felipe.balbi@...ia.com, Jiri Olsa <jolsa@...hat.com>
Subject: [PATCH 12/13] drivers/usb/musb: removing redundant ifdefs
wbr,
jirka
Signed-off-by: Jiri Olsa <jolsa@...hat.com>
---
drivers/usb/musb/musb_core.h | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/drivers/usb/musb/musb_core.h b/drivers/usb/musb/musb_core.h
index ac17b00..8ddcd41 100644
--- a/drivers/usb/musb/musb_core.h
+++ b/drivers/usb/musb/musb_core.h
@@ -468,10 +468,7 @@ struct musb_csr_regs {
};
struct musb_context_registers {
-
-#ifdef CONFIG_PM
u32 otg_sysconfig, otg_forcestandby;
-#endif
u8 power;
u16 intrtxe, intrrxe;
u8 intrusbe;
@@ -483,16 +480,10 @@ struct musb_context_registers {
struct musb_csr_regs index_regs[MUSB_C_NUM_EPS];
};
-#ifdef CONFIG_PM
extern void musb_platform_save_context(struct musb *musb,
struct musb_context_registers *musb_context);
extern void musb_platform_restore_context(struct musb *musb,
struct musb_context_registers *musb_context);
-#else
-#define musb_platform_save_context(m, x) do {} while (0)
-#define musb_platform_restore_context(m, x) do {} while (0)
-#endif
-
#endif
static inline void musb_set_vbus(struct musb *musb, int is_on)
--
1.6.6.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists