Skip to contentSkip to conversation

allow windfarm_pm112 module to load

PATCH New Johannes Berg 1 participant 1 message Feb 17, 2006 Linux for power macintosh

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 allow windfarm_pm112 module to load

The windfarm_pm112 module relies on smu_sat_get_sdb_partition which is in windfarm_smu_sat.c but is not exported to modules, so despite Kconfig having the option to build the pm112 as modules, this can never be loaded.

This patch fixes that by exporting smu_sat_get_sdb_partition with EXPORT_SYMBOL_GPL

(quoted diff) +0 -0

b/drivers/macintosh/windfarm_smu_sat.c
index 3a32c59..24e51d5 100644

drivers/macintosh/windfarm_smu_sat.c +1 -0
@@ -151,6 +151,7 @@ struct smu_sdbp_header *smu_sat_get_sdb_
 	kfree(buf);
 	return NULL;
 }
+EXPORT_SYMBOL_GPL(smu_sat_get_sdb_partition);
 
 /* refresh the cache */
 static int wf_sat_read_cache(struct wf_sat *sat)