diff options
Diffstat (limited to 'arch/mips/fw')
-rw-r--r-- | arch/mips/fw/arc/Makefile | 2 | ||||
-rw-r--r-- | arch/mips/fw/cfe/cfe_api.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/arch/mips/fw/arc/Makefile b/arch/mips/fw/arc/Makefile index 4f349ec1ea2d..e0aaad482b0e 100644 --- a/arch/mips/fw/arc/Makefile +++ b/arch/mips/fw/arc/Makefile | |||
@@ -8,3 +8,5 @@ lib-y += cmdline.o env.o file.o identify.o init.o \ | |||
8 | lib-$(CONFIG_ARC_MEMORY) += memory.o | 8 | lib-$(CONFIG_ARC_MEMORY) += memory.o |
9 | lib-$(CONFIG_ARC_CONSOLE) += arc_con.o | 9 | lib-$(CONFIG_ARC_CONSOLE) += arc_con.o |
10 | lib-$(CONFIG_ARC_PROMLIB) += promlib.o | 10 | lib-$(CONFIG_ARC_PROMLIB) += promlib.o |
11 | |||
12 | EXTRA_CFLAGS += -Werror | ||
diff --git a/arch/mips/fw/cfe/cfe_api.c b/arch/mips/fw/cfe/cfe_api.c index 717db74f7c6e..d06dc5a6b8d3 100644 --- a/arch/mips/fw/cfe/cfe_api.c +++ b/arch/mips/fw/cfe/cfe_api.c | |||
@@ -45,8 +45,8 @@ int cfe_iocb_dispatch(struct cfe_xiocb *xiocb); | |||
45 | * passed in two registers each, and CFE expects one. | 45 | * passed in two registers each, and CFE expects one. |
46 | */ | 46 | */ |
47 | 47 | ||
48 | static int (*cfe_dispfunc) (intptr_t handle, intptr_t xiocb) = 0; | 48 | static int (*cfe_dispfunc) (intptr_t handle, intptr_t xiocb); |
49 | static u64 cfe_handle = 0; | 49 | static u64 cfe_handle; |
50 | 50 | ||
51 | int cfe_init(u64 handle, u64 ept) | 51 | int cfe_init(u64 handle, u64 ept) |
52 | { | 52 | { |