Skip to content

Commit 7620c6b

Browse files
drobson-imgtecmripard
authored andcommitted
drm/imagination: pvr_device_process_active_queues now static
The function below is used only within this source file, but is not static. >> drivers/gpu/drm/imagination/pvr_device.c:129:6: warning: no previous prototype for function 'pvr_device_process_active_queues' [-Wmissing-prototypes] 129 | void pvr_device_process_active_queues(struct pvr_device *pvr_dev) | ^ drivers/gpu/drm/imagination/pvr_device.c:129:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 129 | void pvr_device_process_active_queues(struct pvr_device *pvr_dev) | ^ | static 1 warning generated. Make it static. Reported-by: Arnd Bergmann <[email protected]> Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Fixes: eaf01ee ("drm/imagination: Implement job submission and scheduling") Signed-off-by: Donald Robson <[email protected]> Signed-off-by: Maxime Ripard <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 0ffe9eb commit 7620c6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/imagination/pvr_device.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ static int pvr_device_clk_init(struct pvr_device *pvr_dev)
127127
* This is called any time we receive a FW event. It iterates over all
128128
* active queues and calls pvr_queue_process() on them.
129129
*/
130-
void pvr_device_process_active_queues(struct pvr_device *pvr_dev)
130+
static void pvr_device_process_active_queues(struct pvr_device *pvr_dev)
131131
{
132132
struct pvr_queue *queue, *tmp_queue;
133133
LIST_HEAD(active_queues);

0 commit comments

Comments
 (0)