Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 355110
b: refs/heads/master
c: c8d4baf
h: refs/heads/master
v: v3
  • Loading branch information
Chen Gang authored and Tony Lindgren committed Feb 4, 2013
1 parent 132c8d7 commit 9cc2f51
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 61338d598eec1477455294f006793ee54eead795
refs/heads/master: c8d4bafe503ca767bbc8f3c54e4acd344ef26346
3 changes: 2 additions & 1 deletion trunk/arch/arm/mach-omap2/twl-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include <linux/i2c.h>
#include <linux/i2c/twl.h>
#include <linux/gpio.h>
#include <linux/string.h>
#include <linux/regulator/machine.h>
#include <linux/regulator/fixed.h>

Expand Down Expand Up @@ -56,7 +57,7 @@ void __init omap_pmic_init(int bus, u32 clkrate,
struct twl4030_platform_data *pmic_data)
{
omap_mux_init_signal("sys_nirq", OMAP_PIN_INPUT_PULLUP | OMAP_PIN_OFF_WAKEUPENABLE);
strncpy(pmic_i2c_board_info.type, pmic_type,
strlcpy(pmic_i2c_board_info.type, pmic_type,
sizeof(pmic_i2c_board_info.type));
pmic_i2c_board_info.irq = pmic_irq;
pmic_i2c_board_info.platform_data = pmic_data;
Expand Down

0 comments on commit 9cc2f51

Please sign in to comment.