c5d461931a519acadd4b7d9a21d1be3d54ffa5d0
[openwrt/staging/lynxis.git] /
1 From aca9059632595f34dcd03b17f2396bbd47b1406b 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 625/725] 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 {