Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[PATCH] 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

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Johannes Berg and committed by
Linus Torvalds
9127dd1a 77e7f250

+1
+1
drivers/macintosh/windfarm_smu_sat.c
··· 151 151 kfree(buf); 152 152 return NULL; 153 153 } 154 + EXPORT_SYMBOL_GPL(smu_sat_get_sdb_partition); 154 155 155 156 /* refresh the cache */ 156 157 static int wf_sat_read_cache(struct wf_sat *sat)