linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Export symbol from I2C eeprom driver
@ 2005-01-08  5:34 Jon Smirl
  2005-01-08  5:53 ` Greg KH
  0 siblings, 1 reply; 8+ messages in thread
From: Jon Smirl @ 2005-01-08  5:34 UTC (permalink / raw)
  To: lkml

[-- Attachment #1: Type: text/plain, Size: 298 bytes --]

Trivial patch to export a symbol from the eeprom driver. Currently
there are no exported symbols. The symbol lets the radeon DRM driver
link to it and modprobe will then force it to load along with the
radeon driver.

Signed off by: Jon Smirl <jonsmirl@gmail.com>

-- 
Jon Smirl
jonsmirl@gmail.com

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: eeprom.patch --]
[-- Type: text/x-patch; name="eeprom.patch", Size: 450 bytes --]

#signed off by: Jon Smirl <jonsmirl@gmail.com>
===== drivers/i2c/chips/eeprom.c 1.14 vs edited =====
--- 1.14/drivers/i2c/chips/eeprom.c	2004-11-08 19:37:27 -05:00
+++ edited/drivers/i2c/chips/eeprom.c	2005-01-08 00:27:54 -05:00
@@ -85,7 +85,8 @@
 	.detach_client	= eeprom_detach_client,
 };
 
-static int eeprom_id;
+int eeprom_id;
+EXPORT_SYMBOL(eeprom_id);
 
 static void eeprom_update_client(struct i2c_client *client, u8 slice)
 {

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

end of thread, other threads:[~2005-01-12 23:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-08  5:34 [PATCH] Export symbol from I2C eeprom driver Jon Smirl
2005-01-08  5:53 ` Greg KH
2005-01-08  6:08   ` Jon Smirl
2005-01-08 22:27     ` Greg KH
2005-01-09  0:14       ` Jon Smirl
2005-01-10 23:47         ` Greg KH
2005-01-11  2:20           ` Jon Smirl
2005-01-12 23:21             ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).