lkml.org 
[lkml]   [2005]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] Export symbol from I2C eeprom driver
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
#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)
{
\
 
 \ /
  Last update: 2005-03-22 14:09    [W:0.038 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site