aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/futex-contention.py
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2017-02-02 12:34:11 +0100
committerGreg Kroah-Hartman <[email protected]>2017-02-02 13:01:32 +0100
commit757b9bd074312090107bc2582b27c04ea0eb2b88 (patch)
tree792f2cef00d465c9b1abf59af9899fc2b46aabc6 /tools/perf/scripts/python/futex-contention.py
parentb07525b89f95060dc2d8d954a7a77df4918d8bb8 (diff)
staging: bcm2835: mark all symbols as 'static'
I got a link error in allyesconfig: drivers/staging/media/platform/bcm2835/bcm2835-camera.o: In function `vidioc_enum_framesizes': bcm2835-camera.c:(.text.vidioc_enum_framesizes+0x0): multiple definition of `vidioc_enum_framesizes' drivers/media/platform/vivid/vivid-vid-cap.o:vivid-vid-cap.c:(.text.vidioc_enum_framesizes+0x0): first defined here While both drivers are equally at fault for this problem, the bcm2835 one was just added and is easier to fix, as it is only one file, and none of its symbols need to be globally visible. This marks the three global symbols as static. Fixes: 7b3ad5abf027 ("staging: Import the BCM2835 MMAL-based V4L2 camera driver.") Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions