92f3682b5c6bf99e77d793f2c76f9afbf0690521
[openwrt/staging/neocturne.git] /
1 From a493861ab01161aedb611793c87456dc1394bec6 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 629/703] 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 {