summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/cpm1.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-07-14 17:27:29 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-07-14 17:27:29 -0700
commitea4c1a7e14051e2ba81fc7dc02e3d55bfb2d7548 (patch)
treeed80eaf6245d8d1509662dc42e7184391b91e7d1 /arch/powerpc/include/asm/cpm1.h
parentbcefc8d0d3a0cba9078f519d69f138b93ad30e39 (diff)
parent77154a2026ee5cb2ce05a7d370c16e4c123028e5 (diff)
downloadtalos-op-linux-ea4c1a7e14051e2ba81fc7dc02e3d55bfb2d7548.tar.gz
talos-op-linux-ea4c1a7e14051e2ba81fc7dc02e3d55bfb2d7548.zip
Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc
* 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: powerpc/fsl-booke: Fix address issue when using relocatable kernels powerpc/cpm1: Mark micropatch code/data static and __init powerpc/cpm1: Fix build with various CONFIG_*_UCODE_PATCH combinations powerpc/cpm: Reintroduce global spi_pram struct (fixes build issue)
Diffstat (limited to 'arch/powerpc/include/asm/cpm1.h')
-rw-r--r--arch/powerpc/include/asm/cpm1.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/cpm1.h b/arch/powerpc/include/asm/cpm1.h
index 81b01192f440..bd07650dca56 100644
--- a/arch/powerpc/include/asm/cpm1.h
+++ b/arch/powerpc/include/asm/cpm1.h
@@ -17,6 +17,7 @@
#ifndef __CPM1__
#define __CPM1__
+#include <linux/init.h>
#include <asm/8xx_immap.h>
#include <asm/ptrace.h>
#include <asm/cpm.h>
@@ -54,7 +55,7 @@ extern cpm8xx_t __iomem *cpmp; /* Pointer to comm processor */
extern void cpm_setbrg(uint brg, uint rate);
-extern void cpm_load_patch(cpm8xx_t *cp);
+extern void __init cpm_load_patch(cpm8xx_t *cp);
extern void cpm_reset(void);
OpenPOWER on IntegriCloud