From: Jarkko Nikula <jhnikula@gmail.com>
To: linux-omap@vger.kernel.org
Cc: Jarkko Nikula <jarkko.nikula@nokia.com>
Subject: [PATCH] ARM: OMAP: Add documentation for function omap_register_i2c_bus
Date: Sun, 8 Feb 2009 19:32:47 +0200 [thread overview]
Message-ID: <1234114369-11399-2-git-send-email-jhnikula@gmail.com> (raw)
In-Reply-To: <1234114369-11399-1-git-send-email-jhnikula@gmail.com>
From: Jarkko Nikula <jarkko.nikula@nokia.com>
Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com>
---
arch/arm/plat-omap/i2c.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/arch/arm/plat-omap/i2c.c b/arch/arm/plat-omap/i2c.c
index 467531e..3e95954 100644
--- a/arch/arm/plat-omap/i2c.c
+++ b/arch/arm/plat-omap/i2c.c
@@ -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)
--
1.5.6.5
next prev parent reply other threads:[~2009-02-08 17:30 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-08 17:32 [REPOST][PATCH 0/3] ARM: OMAP: Add command line option for I2C bus speed Jarkko Nikula
2009-02-08 17:32 ` Jarkko Nikula [this message]
2009-02-08 17:32 ` [PATCH] " Jarkko Nikula
2009-02-08 17:32 ` [PATCH] ARM: OMAP: Add method to register additional I2C busses on the command line Jarkko Nikula
2009-02-09 7:58 ` [REPOST][PATCH 0/3] ARM: OMAP: Add command line option for I2C bus speed Jarkko Nikula
2009-02-09 7:59 ` [RFC 1/3] ARM: OMAP: Add documentation for function omap_register_i2c_bus Jarkko Nikula
2009-02-09 7:59 ` [RFC 2/3] ARM: OMAP: Add command line option for I2C bus speed Jarkko Nikula
2009-02-09 7:59 ` [RFC 3/3] ARM: OMAP: Add method to register additional I2C busses on the command line Jarkko Nikula
2009-02-20 19:01 ` Tony Lindgren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1234114369-11399-2-git-send-email-jhnikula@gmail.com \
--to=jhnikula@gmail.com \
--cc=jarkko.nikula@nokia.com \
--cc=linux-omap@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox