summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-01-16 01:39:08 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-01-16 01:39:08 +0000
commit10f4e2fe298512fdaf85fc7548d5557c2ab6fcbe (patch)
treeea391ef981d33116e39a95128994d3dd8beb129b /include
parent6181fecaeccd0bf111d6196ad63bec0f6ba90438 (diff)
Fix warning.
(IRIX people: the same typing bug also exists in IRIX.)
Diffstat (limited to 'include')
-rw-r--r--include/asm-mips64/sn/klconfig.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/asm-mips64/sn/klconfig.h b/include/asm-mips64/sn/klconfig.h
index 3d8f6a338..592ee59d3 100644
--- a/include/asm-mips64/sn/klconfig.h
+++ b/include/asm-mips64/sn/klconfig.h
@@ -164,7 +164,7 @@ typedef struct kl_config_hdr {
#define KL_CONFIG_INFO(_nasid) \
(lboard_t *)((KL_CONFIG_HDR(_nasid)->ch_board_info) ? \
NODE_OFFSET_TO_K1((_nasid), KL_CONFIG_HDR(_nasid)->ch_board_info) : \
- NULL)
+ 0)
#define KL_CONFIG_MAGIC(_nasid) (KL_CONFIG_HDR(_nasid)->ch_magic)
#define KL_CONFIG_CHECK_MAGIC(_nasid) \
@@ -896,6 +896,8 @@ typedef union {
#define VDS_2ND_IO4 0x02 /* Boot from the second IO4 */
#define VDS_DEBUG_PROM 0x01 /* Print PROM debugging messages */
-/* external declarations */
+/* external declarations of Linux kernel functions. */
+
+extern lboard_t *find_lboard(unsigned int type);
#endif /* _ASM_SN_KLCONFIG_H */