468b21e9399739c9a72dc1663474afd12ae1e89b
[openwrt/staging/thess.git] /
1 From 84b54ee2ff01005f0201c51f50985faf4e79edc6 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/806] 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 {