]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - cpu/mpc824x/drivers/i2c_export.h
* Code cleanup:
[people/ms/u-boot.git] / cpu / mpc824x / drivers / i2c_export.h
index 17403ea2cb12c0a3045ca7b6753a9293bb2f60b0..6264d189bb2a291bca6882febfbcc2e5e7a364fb 100644 (file)
@@ -71,11 +71,11 @@ typedef enum _i2c_restart
 extern I2C_Status I2C_Initialize(
        unsigned char addr,            /* driver's I2C slave address */
        I2C_INTERRUPT_MODE en_int,     /* 1 - enable I2C interrupt
-                                       * 0 - disable I2C interrupt
-                                       */
-        int (*app_print_function)(char *,...)); /* pointer to optional "printf"
-                                                 * provided by application
-                                                 */
+                                       * 0 - disable I2C interrupt
+                                       */
+       int (*app_print_function)(char *,...)); /* pointer to optional "printf"
+                                                * provided by application
+                                                */
 
 /* Perform the given I2C transaction, only MASTER_XMIT and MASTER_RCV
  * are implemented.  Both are only in polling mode.
@@ -92,12 +92,12 @@ extern I2C_Status I2C_Initialize(
  *        I2C_RESTART, this is a continuation of existing transaction
  */
 extern I2C_Status I2C_do_transaction( I2C_INTERRUPT_MODE en_int,
-                                      I2C_TRANSACTION_MODE act,
-                                      unsigned char i2c_addr,
-                                      unsigned char data_addr,
-                                      int len,
-                                      char *buffer,
-                                      I2C_STOP_MODE stop,
-                                      int retry,
-                                      I2C_RESTART_MODE rsta);
+                                     I2C_TRANSACTION_MODE act,
+                                     unsigned char i2c_addr,
+                                     unsigned char data_addr,
+                                     int len,
+                                     char *buffer,
+                                     I2C_STOP_MODE stop,
+                                     int retry,
+                                     I2C_RESTART_MODE rsta);
 #endif