From 205e9acfdd7d64d7b3af8adc28ca5476791485c3 Mon Sep 17 00:00:00 2001 From: Afzal Mohammed Date: Wed, 23 Jan 2013 17:12:05 +0530 Subject: [PATCH] --- yaml --- r: 359843 b: refs/heads/master c: 601155b04c2e93c00644003811f59444a9e356e2 h: refs/heads/master i: 359841: c5543196f3aa45ba3afc39672da69a0999723524 359839: 74b51eed1cecdfeb7ab48d3a478a8448ebc8623e v: v3 --- [refs] | 2 +- trunk/arch/arm/mach-omap2/clock.h | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 67a65a2d2fbd..db761cd87810 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: bb0b7320a72ec899e27b5a852851607ab1305541 +refs/heads/master: 601155b04c2e93c00644003811f59444a9e356e2 diff --git a/trunk/arch/arm/mach-omap2/clock.h b/trunk/arch/arm/mach-omap2/clock.h index b40204837bd7..60ddd8612b4d 100644 --- a/trunk/arch/arm/mach-omap2/clock.h +++ b/trunk/arch/arm/mach-omap2/clock.h @@ -65,6 +65,17 @@ struct clockdomain; .ops = &_clkops_name, \ }; +#define DEFINE_STRUCT_CLK_FLAGS(_name, _parent_array_name, \ + _clkops_name, _flags) \ + static struct clk _name = { \ + .name = #_name, \ + .hw = &_name##_hw.hw, \ + .parent_names = _parent_array_name, \ + .num_parents = ARRAY_SIZE(_parent_array_name), \ + .ops = &_clkops_name, \ + .flags = _flags, \ + }; + #define DEFINE_STRUCT_CLK_HW_OMAP(_name, _clkdm_name) \ static struct clk_hw_omap _name##_hw = { \ .hw = { \