]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
stating/atomisp: fix -Wold-style-definition warning
authorArnd Bergmann <arnd@arndb.de>
Mon, 20 Mar 2017 14:41:29 +0000 (14:41 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Mar 2017 07:04:33 +0000 (08:04 +0100)
commita22933221c43bf4bb9f018bc734c1465953d67c2
tree41f5e9251b7298609269515397ffb5b535d50d3d
parent72d2b01e84b25a5ff66662bcd97201c800130169
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: a49d25364dfb ("staging/atomisp: Add support for the Intel IPU v2")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css_params.c