]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
OMAP: HWMOD: Bug fixes in hwmod structure definitions
authorThara Gopinath <thara@ti.com>
Wed, 31 Mar 2010 10:16:29 +0000 (04:16 -0600)
committerPaul Walmsley <paul@pwsan.com>
Wed, 31 Mar 2010 10:16:29 +0000 (04:16 -0600)
This patch corrects the width of sysc_flags in hwmod sysconfig structure
where the values to be stored to this variable exceed the current
field width.

Signed-off-by: Thara Gopinath <thara@ti.com>
[paul@pwsan.com: edited to apply; rearranged structure members to pack]
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/plat-omap/include/plat/omap_hwmod.h

index 440b4164f2f65e8557713ce9fff2636ed02fe523..36d6ea56ab51267dbb27239dc64c8859f5d4f77e 100644 (file)
@@ -294,8 +294,8 @@ struct omap_hwmod_class_sysconfig {
        u16 rev_offs;
        u16 sysc_offs;
        u16 syss_offs;
+       u16 sysc_flags;
        u8 idlemodes;
-       u8 sysc_flags;
        u8 clockact;
        struct omap_hwmod_sysc_fields *sysc_fields;
 };