c8a691920533045d1eb161fce5c8a9274797146a
[openwrt/staging/zorun.git] /
1 From f0b32bd660fef57f19161ff86f79c0542e51c29f Mon Sep 17 00:00:00 2001
2 From: Dave Stevenson <dave.stevenson@raspberrypi.org>
3 Date: Mon, 10 Dec 2018 17:35:58 +0000
4 Subject: [PATCH 622/782] staging: vc-sm-cma: Remove obsolete comment and make
5 function static
6
7 Removes obsolete comment about wanting to pass a function
8 pointer into mmal-vchiq as we now do.
9 As the function is passed as a function pointer, the function itself
10 can be static.
11
12 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
13 ---
14 drivers/staging/vc04_services/vc-sm-cma/vc_sm.c | 3 +--
15 1 file changed, 1 insertion(+), 2 deletions(-)
16
17 --- a/drivers/staging/vc04_services/vc-sm-cma/vc_sm.c
18 +++ b/drivers/staging/vc04_services/vc-sm-cma/vc_sm.c
19 @@ -594,8 +594,7 @@ error:
20 return ret;
21 }
22
23 -/* FIXME: Pass a function pointer to this into vc_vchi_sm.c */
24 -void
25 +static void
26 vc_sm_vpu_event(struct sm_instance *instance, struct vc_sm_result_t *reply,
27 int reply_len)
28 {