summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/octeon
diff options
context:
space:
mode:
authorAaro Koskinen2016-02-22 23:22:55 +0100
committerRalf Baechle2016-05-13 14:01:41 +0200
commit6ecffafe242ec6d2789631499452c54177f0bb4c (patch)
tree67036428f7a0cd62c9c8a0470dd3e58996f401a9 /arch/mips/include/asm/octeon
parentMIPS: OCTEON: Simplify code in octeon_irq_ciu_gpio_set_type() (diff)
downloadkernel-qcow2-linux-6ecffafe242ec6d2789631499452c54177f0bb4c.tar.gz
kernel-qcow2-linux-6ecffafe242ec6d2789631499452c54177f0bb4c.tar.xz
kernel-qcow2-linux-6ecffafe242ec6d2789631499452c54177f0bb4c.zip
MIPS: Octeon: board_type_to_string: return NULL for unsupported board
Return NULL for unsupported board. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Cc: David Daney <ddaney.cavm@gmail.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/12581/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/octeon')
-rw-r--r--arch/mips/include/asm/octeon/cvmx-bootinfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/include/asm/octeon/cvmx-bootinfo.h b/arch/mips/include/asm/octeon/cvmx-bootinfo.h
index c455d34f5a4f..62787765575e 100644
--- a/arch/mips/include/asm/octeon/cvmx-bootinfo.h
+++ b/arch/mips/include/asm/octeon/cvmx-bootinfo.h
@@ -400,7 +400,7 @@ static inline const char *cvmx_board_type_to_string(enum
ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_KONTRON_S1901)
ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_PRIVATE_MAX)
}
- return "Unsupported Board";
+ return NULL;
}
#define ENUM_CHIP_TYPE_CASE(x) \