intel: Add printflike warnings for instr_out.

Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: Eugeni Dodonov <eugeni@dodonov.net>
main
Eric Anholt 2011-12-20 12:01:19 -08:00
parent 1db55a80a9
commit 39a06acfbd
1 changed files with 4 additions and 0 deletions

View File

@ -87,6 +87,10 @@ static float int_as_float(uint32_t intval)
return uval.f;
}
static void
instr_out(uint32_t *data, uint32_t hw_offset, unsigned int index,
const char *fmt, ...) __attribute__((format(__printf__, 4, 5)));
static void
instr_out(uint32_t *data, uint32_t hw_offset, unsigned int index,
const char *fmt, ...)