浏览代码

OMAP: HWMOD: Bug fixes in hwmod structure definitions

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>
Thara Gopinath 15 年之前
父节点
当前提交
56dc79aba1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/arm/plat-omap/include/plat/omap_hwmod.h

+ 1 - 1
arch/arm/plat-omap/include/plat/omap_hwmod.h

@@ -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;
 };