Skip to content
Snippets Groups Projects
Commit d4c58bf4 authored by Jarkko Nikula's avatar Jarkko Nikula Committed by Tony Lindgren
Browse files

ARM: OMAP: Add documentation for function omap_register_i2c_bus

parent 6c366e32
No related branches found
No related tags found
No related merge requests found
...@@ -119,6 +119,15 @@ static void __init omap_i2c_mux_pins(int bus) ...@@ -119,6 +119,15 @@ static void __init omap_i2c_mux_pins(int bus)
omap_cfg_reg(scl); omap_cfg_reg(scl);
} }
/**
* omap_register_i2c_bus - register I2C bus with device descriptors
* @bus_id: bus id counting from number 1
* @clkrate: clock rate of the bus in kHz
* @info: pointer into I2C device descriptor table or NULL
* @len: number of descriptors in the table
*
* Returns 0 on success or an error code.
*/
int __init omap_register_i2c_bus(int bus_id, u32 clkrate, int __init omap_register_i2c_bus(int bus_id, u32 clkrate,
struct i2c_board_info const *info, struct i2c_board_info const *info,
unsigned len) unsigned len)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment