1. 02 Feb, 2017 7 commits
    • Arnd Bergmann's avatar
      staging: bcm2835: mark all symbols as 'static' · 757b9bd0
      Arnd Bergmann authored
      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: 7b3ad5ab ("staging: Import the BCM2835 MMAL-based V4L2 camera driver.")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      757b9bd0
    • Arnd Bergmann's avatar
      staging: bcm2835-audio: fix empty-body warning · b07525b8
      Arnd Bergmann authored
      gcc-7 warns about debug statements being left out here:
      
      drivers/staging/bcm2835-audio/bcm2835-vchiq.c: In function 'bcm2835_audio_set_ctls':
      drivers/staging/bcm2835-audio/bcm2835-vchiq.c:572:54: error: suggest braces around empty body in an 'else' statement [-Werror=empty-body]
      
      It's better to use no_printk(), which has the added advantage of checking
      the format strings.
      
      Fixes: 23b028c8 ("staging: bcm2835-audio: initial staging submission")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      b07525b8
    • Arnd Bergmann's avatar
      staging: bcm2835-audio: remove incorrect include path · fe822dc6
      Arnd Bergmann authored
      The driver introduces a new instance of the missing-include-dirs warning that
      is enabled at the "make W=1" level but has no other output:
      
      cc1: error: /git/arm-soc/drivers/staging/vc04_services/interface/vcos/linuxkernel: No such file or directory [-Werror=missing-include-dirs]
      
      In order to let us enable the warning by default in the future, we should
      just remove the incorrect argument here.
      
      Fixes: 23b028c8 ("staging: bcm2835-audio: initial staging submission")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      fe822dc6
    • Arnd Bergmann's avatar
      staging: bcm2835-v4l: remove incorrect include path · 3ad13763
      Arnd Bergmann authored
      The driver introduces a new instance of the missing-include-dirs warning that
      is enabled at the "make W=1" level but has no other output:
      
      cc1: error: drivers/staging/vc04_services/interface/vcos/linuxkernel: No such file or directory [-Werror=missing-include-dirs]
      cc1: all warnings being treated as errors
      scripts/Makefile.build:307: recipe for target 'drivers/staging/media/platform/bcm2835/bcm2835-camera.o' failed
      
      In order to let us enable the warning by default in the future, we should
      just remove the incorrect argument here.
      
      Fixes: 97b35807 ("staging: bcm2835-v4l2: Add a build system for the module.")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      3ad13763
    • Michael Zoran's avatar
      staging: bcm2835/mmal-vchiq: Replace call to vchi_msg_queue with vchi_queue_kernel_message · d3a4e613
      Michael Zoran authored
      The function vchi_msg_queue was made static in vc04_services
      and replaced with vchi_queue_kernel_message.
      
      Change the call to vchi_msg_queue to vchi_queue_kernel_message
      Signed-off-by: default avatarMichael Zoran <mzoran@crowfest.net>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      d3a4e613
    • Michael Zoran's avatar
      staging: bcm2835-audio: Replace call to vchi_msg_queue with vchi_queue_kernel_message · c07acb97
      Michael Zoran authored
      The function vchi_msg_queue was made static in vc04_services
      and replaced with vchi_queue_kernel_message.
      
      Change the call to vchi_msg_queue to vchi_queue_kernel_message
      Signed-off-by: default avatarMichael Zoran <mzoran@crowfest.net>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      c07acb97
    • Greg Kroah-Hartman's avatar
      Merge tag 'iio-for-4.11c' of... · fa6a8adf
      Greg Kroah-Hartman authored
      Merge tag 'iio-for-4.11c' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-next
      
      Jonathan writes:
      
      Third set of new device support, features and cleanups for IIO in the 4.11 cycle
      
      This also involves a merge of the ib-mid-iio-pwm-4.11 branch from mfd to
      bring in support for the stm32 timer triggers needed for the buffered
      features in the stm32 adc driver.
      
      New device support:
      * Amligic Meson SAR ADC
        - new driver and bindings
      * cros_ec barometer
        - new driver
      * max5481 digital potentiometers
        - new driver for 5481, 5482, 5483 and 5484
      * Renesas GyroADC - a very specific spi offload engine for ADCs
        - new driver and bindings.
      * srf08 ultrasonic ranger
        - new driver, bindings and ABI docs,
      
      New features
      * Qualcomm PM8xxx ADC bindings.
        - due to a trivial build issues the driver will be following shortly.
      * stm32 ADC
        - Triggered buffer mode
        - Allow use of stm32 timer triggers
        - Add trigger polarity control
        - Optional DMA support with bindings update
      * stx104
        - add support for gpio names
        - support set_multiple callback
      * tmp007
        - optional interrupt support
      
      Cleanups
      * ad7150
        - alignment fix.
      * ad7816
        - octal rather than symbolic permissions.
      * lsm6dsx
        - allow selection of data ready pin via device tree bindings.
      * ssp_sensors
        - use devm_iio_device_register to handle unregister automatically.
      * stx104
        - use devm functions in probe allowing removal or the remove function.
        - drop unneeded struct stx104_dev
      * tmp007
        - fix the name attribute to be a meaninful description of the part.
      fa6a8adf
  2. 01 Feb, 2017 1 commit
  3. 31 Jan, 2017 18 commits
  4. 30 Jan, 2017 2 commits
  5. 29 Jan, 2017 1 commit
  6. 28 Jan, 2017 11 commits