public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [patch 5/9]Four new i2c drivers and __init/__exit cleanup to i2c
@ 2002-09-15 22:40 Albert Cranford
  2002-09-15 23:12 ` Jeff Garzik
  0 siblings, 1 reply; 3+ messages in thread
From: Albert Cranford @ 2002-09-15 22:40 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Kernel mailing list

[-- Attachment #1: Type: TEXT/PLAIN, Size: 484 bytes --]

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

[-- Attachment #2: Type: TEXT/PLAIN, Size: 1202 bytes --]

--- linux/drivers/i2c/i2c-dev.c.orig	2002-09-05 11:23:38.000000000 -0400
+++ linux-2.5.34/drivers/i2c/i2c-dev.c	2002-09-05 11:25:21.000000000 -0400
@@ -544,8 +544,6 @@
 	return 0;
 }
 
-EXPORT_NO_SYMBOLS;
-
 #ifdef MODULE
 
 MODULE_AUTHOR("Frodo Looijaard <frodol@dds.nl> and Simon G. Vogl <simon@tk.uni-linz.ac.at>");
--- linux/drivers/i2c/i2c-elektor.c.orig	2002-09-10 22:31:34.000000000 -0400
+++ linux-2.5.34/drivers/i2c/i2c-elektor.c	2002-09-10 22:31:58.000000000 -0400
@@ -291,8 +291,6 @@
 	return 0;
 }
 
-EXPORT_NO_SYMBOLS;
-
 #ifdef MODULE
 MODULE_AUTHOR("Hans Berglund <hb@spacetec.no>");
 MODULE_DESCRIPTION("I2C-Bus adapter routines for PCF8584 ISA bus adapter");
--- linux/drivers/i2c/i2c-frodo.c.orig	2002-09-05 11:23:59.000000000 -0400
+++ linux-2.5.34/drivers/i2c/i2c-frodo.c	2002-09-05 11:25:28.000000000 -0400
@@ -97,8 +97,6 @@
 	return (i2c_bit_add_bus (&frodo_ops));
 }
 
-EXPORT_NO_SYMBOLS;
-
 static void __exit i2c_frodo_exit (void)
 {
 	i2c_bit_del_bus (&frodo_ops);
@@ -111,8 +109,6 @@
 MODULE_LICENSE ("GPL");
 #endif	/* #ifdef MODULE_LICENSE */
 
-EXPORT_NO_SYMBOLS;
-
 module_init (i2c_frodo_init);
 module_exit (i2c_frodo_exit);
 

^ permalink raw reply	[flat|nested] 3+ messages in thread
* [patch 5/9]Four new i2c drivers and __init/__exit cleanup to i2c
@ 2002-09-15 22:41 Albert Cranford
  0 siblings, 0 replies; 3+ messages in thread
From: Albert Cranford @ 2002-09-15 22:41 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Kernel mailing list

[-- Attachment #1: Type: TEXT/PLAIN, Size: 484 bytes --]

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

[-- Attachment #2: Type: TEXT/PLAIN, Size: 1926 bytes --]

--- linux/drivers/i2c/Config.in.orig	2002-09-10 22:28:32.000000000 -0400
+++ linux-2.5.34/drivers/i2c/Config.in	2002-09-10 22:28:12.000000000 -0400
@@ -13,11 +13,16 @@
       dep_tristate '  Philips style parallel port adapter' CONFIG_I2C_PHILIPSPAR $CONFIG_I2C_ALGOBIT $CONFIG_PARPORT
       dep_tristate '  ELV adapter' CONFIG_I2C_ELV $CONFIG_I2C_ALGOBIT
       dep_tristate '  Velleman K9000 adapter' CONFIG_I2C_VELLEMAN $CONFIG_I2C_ALGOBIT
+      dep_tristate '  Basic I2C on Parallel Port' CONFIG_I2C_PPORT $CONFIG_I2C_ALGOBIT
+      if [ "$CONFIG_ARCH_SA1100" = "y" ]; then
+         dep_tristate 'SA1100 I2C Adapter' CONFIG_I2C_FRODO $CONFIG_I2C_ALGOBIT
+      fi
    fi
 
    dep_tristate 'I2C PCF 8584 interfaces' CONFIG_I2C_ALGOPCF $CONFIG_I2C
    if [ "$CONFIG_I2C_ALGOPCF" != "n" ]; then
       dep_tristate '  Elektor ISA card' CONFIG_I2C_ELEKTOR $CONFIG_I2C_ALGOPCF
+      dep_tristate '  PCF on EPP port' CONFIG_I2C_PCFEPP $CONFIG_I2C_ALGOPCF
    fi
 
    if [ "$CONFIG_MIPS_ITE8172" = "y" ]; then
--- linux/drivers/i2c/Makefile.orig	2002-09-11 00:37:51.000000000 -0400
+++ linux-2.5.34/drivers/i2c/Makefile	2002-09-11 22:45:58.000000000 -0400
@@ -11,10 +11,16 @@
 obj-$(CONFIG_I2C_PHILIPSPAR)	+= i2c-philips-par.o
 obj-$(CONFIG_I2C_ELV)		+= i2c-elv.o
 obj-$(CONFIG_I2C_VELLEMAN)	+= i2c-velleman.o
+obj-$(CONFIG_I2C_PPORT)		+= i2c-pport.o
+obj-$(CONFIG_I2C_FRODO)		+= i2c-frodo.o
 obj-$(CONFIG_I2C_ALGOPCF)	+= i2c-algo-pcf.o
 obj-$(CONFIG_I2C_ELEKTOR)	+= i2c-elektor.o
+obj-$(CONFIG_I2C_PCFEPP)	+= i2c-pcf-epp.o
 obj-$(CONFIG_ITE_I2C_ALGO)	+= i2c-algo-ite.o
 obj-$(CONFIG_ITE_I2C_ADAP)	+= i2c-adap-ite.o
+obj-$(CONFIG_I2C_ALGO8XX)	+= i2c-algo-8xx.o
+obj-$(CONFIG_I2C_IBM_OCP_ALGO)	+= i2c-algo-ibm_ocp.o
+obj-$(CONFIG_I2C_IBM_OCP_ADAP)	+= i2c-adap-ibm_ocp.o
 obj-$(CONFIG_I2C_PROC)		+= i2c-proc.o
 
 # This is needed for automatic patch generation: sensors code starts here

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-09-15 23:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-15 22:40 [patch 5/9]Four new i2c drivers and __init/__exit cleanup to i2c Albert Cranford
2002-09-15 23:12 ` Jeff Garzik
  -- strict thread matches above, loose matches on Subject: below --
2002-09-15 22:41 Albert Cranford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox