linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: mx51: Fix build error due to missing include of <linux/bug.h>
@ 2012-02-28 12:11 Fabio Estevam
  2012-02-28 12:53 ` Russell King - ARM Linux
  0 siblings, 1 reply; 7+ messages in thread
From: Fabio Estevam @ 2012-02-28 12:11 UTC (permalink / raw)
  To: linux-arm-kernel

Fix the following build error:

arch/arm/mach-imx/cpu_op-mx51.c: In function 'mx51_get_cpu_op':
arch/arm/mach-imx/cpu_op-mx51.c:27: error: implicit declaration of function 'BUILD_BUG_ON_ZERO'

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
This applies against linux-next

 arch/arm/mach-imx/cpu_op-mx51.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-imx/cpu_op-mx51.c b/arch/arm/mach-imx/cpu_op-mx51.c
index 9d34c3d..9a4f77a 100644
--- a/arch/arm/mach-imx/cpu_op-mx51.c
+++ b/arch/arm/mach-imx/cpu_op-mx51.c
@@ -14,6 +14,7 @@
 #include <linux/types.h>
 #include <mach/hardware.h>
 #include <linux/kernel.h>
+#include <linux/bug.h>
 
 static struct cpu_op mx51_cpu_op[] = {
 	{
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-02-29  0:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-28 12:11 [PATCH] ARM: mx51: Fix build error due to missing include of <linux/bug.h> Fabio Estevam
2012-02-28 12:53 ` Russell King - ARM Linux
2012-02-28 13:03   ` Fabio Estevam
2012-02-28 13:21     ` Russell King - ARM Linux
2012-02-28 13:25       ` Fabio Estevam
2012-02-28 23:52       ` Paul Gortmaker
2012-02-29  0:06         ` Russell King - ARM Linux

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).