diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2009-02-16 14:27:06 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-03-13 10:33:50 +0100 |
commit | d1755e3592305f8866b4d60d63a481959d5e58bf (patch) | |
tree | 237953bbce244a53398a967e61ea0c63ec95cb6e /arch/arm/plat-mxc/include/mach/clock.h | |
parent | e65fb0099fe4fe82d59ffe84f1e88a489218d7f9 (diff) |
[ARM] MXC: add clkdev support
This patch only adds general clkdev support without actually switching
any MXC architecture to clkdev.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc/include/mach/clock.h')
-rw-r--r-- | arch/arm/plat-mxc/include/mach/clock.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/include/mach/clock.h b/arch/arm/plat-mxc/include/mach/clock.h index b830655514e..43a82d0c534 100644 --- a/arch/arm/plat-mxc/include/mach/clock.h +++ b/arch/arm/plat-mxc/include/mach/clock.h @@ -26,9 +26,13 @@ struct module; struct clk { +#ifndef CONFIG_COMMON_CLKDEV + /* As soon as i.MX1 and i.MX31 switched to clkdev, this + * block can go away */ struct list_head node; struct module *owner; const char *name; +#endif int id; /* Source clock this clk depends on */ struct clk *parent; |