lkml.org 
[lkml]   [2002]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch 7/9]Four new i2c drivers and __init/__exit cleanup to i2c
Hello Linus,
New I2C drivers that have been adjusted after Russell King comments of August.
o i2c-algo-8xx.c
o i2c-pport.c
o i2c-adap-ibm_ocp.c
o i2c-pcf-epp.c
o Add new drivers to Config.in and Makefile.
o Add new drivers to i2c-core for initialization.
o Remove EXPORT_NO_SYMBOLS statement from i2c-dev, i2c-elektor and i2c-frodo.
o Cleanup init_module and cleanup_module adding __init and __exit to most drivers.
o Adjust i2c-elektor with cli/sti replacement.
--
ac9410@attbi.com
--- linux/drivers/i2c/i2c-core.c.orig 2002-09-10 23:11:04.000000000 -0400
+++ linux-2.5.34/drivers/i2c/i2c-core.c 2002-09-11 22:50:29.000000000 -0400
@@ -1508,6 +1508,12 @@
#ifdef CONFIG_I2C_VELLEMAN
extern int i2c_bitvelle_init(void);
#endif
+#ifdef CONFIG_I2C_PPORT
+ extern int i2c_bitpport_init(void);
+#endif
+#ifdef CONFIG_I2C_FRODO
+ extern int i2c_frodo_init(void);
+#endif
#ifdef CONFIG_I2C_BITVIA
extern int i2c_bitvia_init(void);
#endif
@@ -1518,6 +1524,9 @@
#ifdef CONFIG_I2C_ELEKTOR
extern int i2c_pcfisa_init(void);
#endif
+#ifdef CONFIG_I2C_PCFEPP
+ extern int i2c_pcfepp_init(void);
+#endif

#ifdef CONFIG_I2C_ALGO8XX
extern int i2c_algo_8xx_init(void);
@@ -1525,6 +1534,12 @@
#ifdef CONFIG_I2C_RPXLITE
extern int i2c_rpx_init(void);
#endif
+#ifdef CONFIG_I2C_IBM_OCP_ALGO
+ extern int i2c_algo_iic_init(void);
+#endif
+#ifdef CONFIG_I2C_IBM_OCP_ADAP
+ extern int iic_ibmocp_init(void);
+#endif
#ifdef CONFIG_I2C_PROC
extern int sensors_init(void);
#endif
@@ -1553,6 +1568,15 @@
#ifdef CONFIG_I2C_VELLEMAN
i2c_bitvelle_init();
#endif
+#ifdef CONFIG_I2C_PPORT
+ i2c_bitpport_init();
+#endif
+#ifdef CONFIG_I2C_FRODO
+ i2c_frodo_init();
+#endif
+#ifdef CONFIG_I2C_BITVIA
+ i2c_bitvia_init();
+#endif

/* --------------------- pcf -------- */
#ifdef CONFIG_I2C_ALGOPCF
@@ -1561,6 +1585,9 @@
#ifdef CONFIG_I2C_ELEKTOR
i2c_pcfisa_init();
#endif
+#ifdef CONFIG_I2C_PCFEPP
+ i2c_pcfepp_init();
+#endif

/* --------------------- 8xx -------- */
#ifdef CONFIG_I2C_ALGO8XX
@@ -1569,6 +1596,12 @@
#ifdef CONFIG_I2C_RPXLITE
i2c_rpx_init();
#endif
+#ifdef CONFIG_I2C_IBM_OCP_ALGO
+ i2c_algo_iic_init();
+#endif
+#ifdef CONFIG_I2C_IBM_OCP_ADAP
+ iic_ibmocp_init();
+#endif

/* -------------- proc interface ---- */
#ifdef CONFIG_I2C_PROC
\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.022 / U:2.452 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site