drivers/dsp/syslink/multicore_ipc/heap.c:36:2: error: implicit declaration of function 'BUILD_BUG_ON'
Signed-off-by: Mircea Gherzan mgherzan@gmail.com --- drivers/dsp/syslink/multicore_ipc/heap.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/dsp/syslink/multicore_ipc/heap.c b/drivers/dsp/syslink/multicore_ipc/heap.c index 479174d..9deb6df 100644 --- a/drivers/dsp/syslink/multicore_ipc/heap.c +++ b/drivers/dsp/syslink/multicore_ipc/heap.c @@ -15,9 +15,8 @@ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR * PURPOSE. */ +#include <linux/kernel.h> #include <linux/types.h> -#include <linux/bug.h> -
#include <heap.h>
The symbols are currently used the the omap-abe-dsp code.
Signed-off-by: Mircea Gherzan mgherzan@gmail.com --- drivers/base/power/opp.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/drivers/base/power/opp.c b/drivers/base/power/opp.c index b1e333a..069d7e5 100644 --- a/drivers/base/power/opp.c +++ b/drivers/base/power/opp.c @@ -14,6 +14,7 @@ #include <linux/kernel.h> #include <linux/errno.h> #include <linux/err.h> +#include <linux/export.h> #include <linux/init.h> #include <linux/slab.h> #include <linux/cpufreq.h> @@ -219,6 +220,7 @@ int opp_get_opp_count(struct device *dev)
return count; } +EXPORT_SYMBOL(opp_get_opp_count);
/** * opp_find_freq_exact() - search for an exact frequency @@ -354,6 +356,7 @@ struct opp *opp_find_freq_floor(struct device *dev, unsigned long *freq)
return opp; } +EXPORT_SYMBOL(opp_find_freq_floor);
/** * opp_add() - Add an OPP table from a table definitions
This way, tiler can be built as a module.
Signed-off-by: Mircea Gherzan mgherzan@gmail.com --- drivers/media/video/tiler/tcm/tcm-sita.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/media/video/tiler/tcm/tcm-sita.c b/drivers/media/video/tiler/tcm/tcm-sita.c index d0784c6..d081d74 100644 --- a/drivers/media/video/tiler/tcm/tcm-sita.c +++ b/drivers/media/video/tiler/tcm/tcm-sita.c @@ -17,6 +17,7 @@ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * */ +#include <linux/export.h> #include <linux/slab.h>
#include "_tcm-sita.h" @@ -161,6 +162,7 @@ error: kfree(pvt); return NULL; } +EXPORT_SYMBOL(sita_init);
static void sita_deinit(struct tcm *tcm) {
Required when building DSS and the generic DPI panel driver as modules.
Signed-off-by: Mircea Gherzan mgherzan@gmail.com --- drivers/video/omap2/dss/core.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/video/omap2/dss/core.c b/drivers/video/omap2/dss/core.c index 108aa24..b937f2f 100644 --- a/drivers/video/omap2/dss/core.c +++ b/drivers/video/omap2/dss/core.c @@ -26,6 +26,7 @@ #include <linux/module.h> #include <linux/clk.h> #include <linux/err.h> +#include <linux/export.h> #include <linux/platform_device.h> #include <linux/seq_file.h> #include <linux/debugfs.h> @@ -61,6 +62,7 @@ const char* omap_dss_get_def_disp() { return def_disp_name; } +EXPORT_SYMBOL(omap_dss_get_def_disp);
/* REGULATORS */