Fix divisor calculation and configuration from previous commit, thanks sn9
[openwrt-10.03/.git] / target / linux / ar7 / files / include / asm-mips / ar7 / prom.h
index 2f3f67fe6102e3de233e99b901093a40868daad5..55f5939db5174ae4ce682af2d0af5dd80f303aea 100644 (file)
@@ -19,8 +19,8 @@
 #ifndef __PROM_H__
 #define __PROM_H__
 
-extern char *prom_getenv(char *name);
-extern void prom_printf(char *fmt, ...);
+extern char *prom_getenv(const char *name);
+extern void prom_printf(const char *fmt, ...) __attribute__((format(printf, 1, 2)));
 extern void prom_meminit(void);
 
 #endif /* __PROM_H__ */