]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: Add documentation for function omap_register_i2c_bus
authorJarkko Nikula <jarkko.nikula@nokia.com>
Mon, 9 Feb 2009 07:59:55 +0000 (07:59 +0000)
committerTony Lindgren <tony@atomide.com>
Fri, 20 Feb 2009 18:58:28 +0000 (10:58 -0800)
Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/i2c.c

index 467531edefd3e0621cce0f5d7fca92d7b6fbe1dc..3e95954e2a87b660bf85689265f17903481e42ce 100644 (file)
@@ -119,6 +119,15 @@ static void __init omap_i2c_mux_pins(int bus)
        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,
                          struct i2c_board_info const *info,
                          unsigned len)