浏览代码

soc: pinctrl-lpi: update sizeof lpi offset to 32bit

Update sizeof lpi register offset to 32 bit to
accommodate all register offset for sdm670.

Change-Id: I9a3fdb56f9faf6c0aff627cbedaa54db606d2434
Signed-off-by: Rohit Kumar <[email protected]>
Rohit Kumar 7 年之前
父节点
当前提交
7fccd584b6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      soc/pinctrl-lpi.c

+ 1 - 1
soc/pinctrl-lpi.c

@@ -81,7 +81,7 @@ enum lpi_gpio_func_index {
  * @function: See lpi_gpio_functions[]
  */
 struct lpi_gpio_pad {
-	u16		offset;
+	u32		offset;
 	bool		output_enabled;
 	bool		value;
 	char __iomem	*base;