summaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/oplib_64.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/include/asm/oplib_64.h')
-rw-r--r--arch/sparc/include/asm/oplib_64.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/include/asm/oplib_64.h b/arch/sparc/include/asm/oplib_64.h
index 97a90475c314..a12dbe3b7762 100644
--- a/arch/sparc/include/asm/oplib_64.h
+++ b/arch/sparc/include/asm/oplib_64.h
@@ -98,7 +98,7 @@ extern unsigned char prom_get_idprom(char *idp_buffer, int idpbuf_size);
extern void prom_console_write_buf(const char *buf, int len);
/* Prom's internal routines, don't use in kernel/boot code. */
-extern void prom_printf(const char *fmt, ...);
+extern __printf(1, 2) void prom_printf(const char *fmt, ...);
extern void prom_write(const char *buf, unsigned int len);
/* Multiprocessor operations... */