[PATCH] Export symbol from I2C eeprom driver

From: Jon Smirl
Date: Sat Jan 08 2005 - 00:36:18 EST


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@xxxxxxxxx>

--
Jon Smirl
jonsmirl@xxxxxxxxx
#signed off by: Jon Smirl <jonsmirl@xxxxxxxxx>
===== 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)
{