diff options
author | 2014-03-17 09:54:19 -0300 | |
---|---|---|
committer | 2014-04-16 18:13:56 -0300 | |
commit | ba76a6e6a5eaa3736df743818394978af456cf70 (patch) | |
tree | 2efc6326c1d7f9854acf992a2fc95406738efe55 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | [media] gspca_gl860: Clean up idxdata structs (diff) | |
download | linux-dev-ba76a6e6a5eaa3736df743818394978af456cf70.tar.xz linux-dev-ba76a6e6a5eaa3736df743818394978af456cf70.zip |
[media] v4l2-subdev.h: fix sparse error with v4l2_subdev_notify
The notify function is a void function, yet the v4l2_subdev_notify
define uses it in a ? : construction, which causes sparse warnings.
Replace the define by a static inline function and move it to
v4l2-device.h, which is where it belongs since it needs to know the
v4l2_device struct. This wasn't a problem when it was a define, but
as a static inline function this no longer compiles in v4l2-subdev.h.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions