Skip to content
Snippets Groups Projects
Commit 225a0169 authored by Adam Wujek's avatar Adam Wujek
Browse files

userspace/libwr: fix indent of i2c_buses array


Signed-off-by: default avatarAdam Wujek <dev_public@wujek.eu>
parent 158c214d
Branches
Tags
No related merge requests found
...@@ -169,26 +169,30 @@ struct i2c_bitbang wr_link1_reg = { ...@@ -169,26 +169,30 @@ struct i2c_bitbang wr_link1_reg = {
struct i2c_bus i2c_buses[] = { struct i2c_bus i2c_buses[] = {
{ {
.name = "fpga_bus0", .name = "fpga_bus0",
.type = I2C_BUS_TYPE_FPGA_REG, .type = I2C_BUS_TYPE_FPGA_REG,
.type_specific = &fpga_bus0_reg, .type_specific = &fpga_bus0_reg,
}, { },
.name = "fpga_bus1", {
.type = I2C_BUS_TYPE_FPGA_REG, .name = "fpga_bus1",
.type_specific = &fpga_bus1_reg, .type = I2C_BUS_TYPE_FPGA_REG,
}, { .type_specific = &fpga_bus1_reg,
.name = "wr_mux_bus", },
.type = I2C_TYPE_BITBANG, {
.type_specific = &wr_mux_bus_reg, .name = "wr_mux_bus",
}, { .type = I2C_TYPE_BITBANG,
.name = "wr_sfp0_link0", .type_specific = &wr_mux_bus_reg,
.type = I2C_TYPE_BITBANG, },
.type_specific = &wr_link0_reg, {
}, { .name = "wr_sfp0_link0",
.name = "wr_sfp0_link1", .type = I2C_TYPE_BITBANG,
.type = I2C_TYPE_BITBANG, .type_specific = &wr_link0_reg,
.type_specific = &wr_link1_reg, },
}, {
.name = "wr_sfp0_link1",
.type = I2C_TYPE_BITBANG,
.type_specific = &wr_link1_reg,
},
}; };
int shw_sfp_buses_init(void) int shw_sfp_buses_init(void)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment