aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/include
diff options
context:
space:
mode:
authorPaul Walmsley <paul@pwsan.com>2012-04-19 06:04:32 -0400
committerPaul Walmsley <paul@pwsan.com>2012-04-19 06:04:32 -0400
commit11cd4b94cb491894b8a192635abf159fc1917f4d (patch)
tree40f4caddf62cd8aaaefb78e1bc8d8fccd9791cdf /arch/arm/plat-omap/include
parent0a78c5c5963d3bb2119795f9442a3eeec3aebc1a (diff)
ARM: OMAP: hwmod: remove code support for direct hwmod registration
Now that the data has been converted to use interface registration, we can remove the (now unused) direct hwmod registration code. Signed-off-by: Paul Walmsley <paul@pwsan.com> Cc: BenoƮt Cousson <b-cousson@ti.com>
Diffstat (limited to 'arch/arm/plat-omap/include')
-rw-r--r--arch/arm/plat-omap/include/plat/omap_hwmod.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/arm/plat-omap/include/plat/omap_hwmod.h b/arch/arm/plat-omap/include/plat/omap_hwmod.h
index 09679032603c..14dde32cd406 100644
--- a/arch/arm/plat-omap/include/plat/omap_hwmod.h
+++ b/arch/arm/plat-omap/include/plat/omap_hwmod.h
@@ -504,12 +504,9 @@ struct omap_hwmod_link {
504 * @_clk: pointer to the main struct clk (filled in at runtime) 504 * @_clk: pointer to the main struct clk (filled in at runtime)
505 * @opt_clks: other device clocks that drivers can request (0..*) 505 * @opt_clks: other device clocks that drivers can request (0..*)
506 * @voltdm: pointer to voltage domain (filled in at runtime) 506 * @voltdm: pointer to voltage domain (filled in at runtime)
507 * @masters: ptr to array of OCP ifs that this hwmod can initiate on
508 * @slaves: ptr to array of OCP ifs that this hwmod can respond on
509 * @dev_attr: arbitrary device attributes that can be passed to the driver 507 * @dev_attr: arbitrary device attributes that can be passed to the driver
510 * @_sysc_cache: internal-use hwmod flags 508 * @_sysc_cache: internal-use hwmod flags
511 * @_mpu_rt_va: cached register target start address (internal use) 509 * @_mpu_rt_va: cached register target start address (internal use)
512 * @_mpu_port_index: cached MPU register target slave ID (internal use)
513 * @_mpu_port: cached MPU register target slave (internal use) 510 * @_mpu_port: cached MPU register target slave (internal use)
514 * @opt_clks_cnt: number of @opt_clks 511 * @opt_clks_cnt: number of @opt_clks
515 * @master_cnt: number of @master entries 512 * @master_cnt: number of @master entries
@@ -549,8 +546,6 @@ struct omap_hwmod {
549 struct omap_hwmod_opt_clk *opt_clks; 546 struct omap_hwmod_opt_clk *opt_clks;
550 char *clkdm_name; 547 char *clkdm_name;
551 struct clockdomain *clkdm; 548 struct clockdomain *clkdm;
552 struct omap_hwmod_ocp_if **masters; /* connect to *_IA */
553 struct omap_hwmod_ocp_if **slaves; /* connect to *_TA */
554 struct list_head master_ports; /* connect to *_IA */ 549 struct list_head master_ports; /* connect to *_IA */
555 struct list_head slave_ports; /* connect to *_TA */ 550 struct list_head slave_ports; /* connect to *_TA */
556 void *dev_attr; 551 void *dev_attr;
@@ -560,7 +555,6 @@ struct omap_hwmod {
560 struct list_head node; 555 struct list_head node;
561 struct omap_hwmod_ocp_if *_mpu_port; 556 struct omap_hwmod_ocp_if *_mpu_port;
562 u16 flags; 557 u16 flags;
563 u8 _mpu_port_index;
564 u8 response_lat; 558 u8 response_lat;
565 u8 rst_lines_cnt; 559 u8 rst_lines_cnt;
566 u8 opt_clks_cnt; 560 u8 opt_clks_cnt;
@@ -572,7 +566,6 @@ struct omap_hwmod {
572 u8 _postsetup_state; 566 u8 _postsetup_state;
573}; 567};
574 568
575int omap_hwmod_register(struct omap_hwmod **ohs);
576struct omap_hwmod *omap_hwmod_lookup(const char *name); 569struct omap_hwmod *omap_hwmod_lookup(const char *name);
577int omap_hwmod_for_each(int (*fn)(struct omap_hwmod *oh, void *data), 570int omap_hwmod_for_each(int (*fn)(struct omap_hwmod *oh, void *data),
578 void *data); 571 void *data);