Commit a2293322 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Greg Kroah-Hartman

stating/atomisp: fix -Wold-style-definition warning

ia_css_dequeue_param_buffers does not have an arguement type, causing a warning:

drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css_params.c: In function 'ia_css_dequeue_param_buffers':
drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css_params.c:3728:6: error: old-style function definition [-Werror=old-style-definition]

This adds a 'void' keywork to silence the warning.

Fixes: a49d2536 ("staging/atomisp: Add support for the Intel IPU v2")
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 72d2b01e
...@@ -3723,7 +3723,7 @@ static void sh_css_update_isp_mem_params_to_ddr( ...@@ -3723,7 +3723,7 @@ static void sh_css_update_isp_mem_params_to_ddr(
IA_CSS_LEAVE_PRIVATE("void"); IA_CSS_LEAVE_PRIVATE("void");
} }
void ia_css_dequeue_param_buffers(/*unsigned int pipe_num*/) void ia_css_dequeue_param_buffers(/*unsigned int pipe_num*/ void)
{ {
unsigned int i; unsigned int i;
hrt_vaddress cpy; hrt_vaddress cpy;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment