summaryrefslogtreecommitdiff
path: root/include/i2c.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/i2c.h')
-rw-r--r--include/i2c.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/i2c.h b/include/i2c.h
index 701992e35e..22ab18adcf 100644
--- a/include/i2c.h
+++ b/include/i2c.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
+/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
@@ -16,6 +16,9 @@
/* Initializes the module. */
int i2c_init(void);
+/* Notifies the module the system clock frequency has changed to <freq>. */
+void i2c_clock_changed(int freq);
+
/* Reads a 16-bit register from the slave at 8-bit slave address
* <slaveaddr>, at the specified 8-bit <offset> in the slave's address
* space. */