All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH linux-2.6] allow windfarm_pm112 module to load
@ 2006-02-17  1:29 Johannes Berg
  0 siblings, 0 replies; only message in thread
From: Johannes Berg @ 2006-02-17  1:29 UTC (permalink / raw)
  To: linux-kernel; +Cc: Benjamin Herrenschmidt

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

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>

diff --git a/drivers/macintosh/windfarm_smu_sat.c
b/drivers/macintosh/windfarm_smu_sat.c
index 3a32c59..24e51d5 100644
--- a/drivers/macintosh/windfarm_smu_sat.c
+++ b/drivers/macintosh/windfarm_smu_sat.c
@@ -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)



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2006-02-17  1:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-17  1:29 [PATCH linux-2.6] allow windfarm_pm112 module to load Johannes Berg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.