Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 67500
b: refs/heads/master
c: da1bb3a
h: refs/heads/master
v: v3
  • Loading branch information
Anton Vorontsov authored and Kumar Gala committed Oct 4, 2007
1 parent 3f0dadf commit e9574e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: 15f8c604a79c4840ed76eecf3af5d88b7c1dee9e
refs/heads/master: da1bb3a0e1f7f9cabe70fb2c41b47fa57c42fdfd
3 changes: 1 addition & 2 deletions trunk/arch/powerpc/sysdev/fsl_soc.c
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ static void __init of_register_i2c_devices(struct device_node *adap_node,
struct device_node *node = NULL;

while ((node = of_get_next_child(adap_node, node))) {
struct i2c_board_info info;
struct i2c_board_info info = {};
const u32 *addr;
int len;

Expand All @@ -380,7 +380,6 @@ static void __init of_register_i2c_devices(struct device_node *adap_node,
if (of_find_i2c_driver(node, &info) < 0)
continue;

info.platform_data = NULL;
info.addr = *addr;

i2c_register_board_info(bus_num, &info, 1);
Expand Down

0 comments on commit e9574e2

Please sign in to comment.