1. Dec 15, 2013
  2. Dec 07, 2013
  3. Dec 06, 2013
  4. Dec 02, 2013
  5. Nov 27, 2013
  6. Nov 26, 2013
  7. Nov 21, 2013
  8. Nov 20, 2013
  9. Nov 11, 2013
  10. Oct 31, 2013
  11. Oct 23, 2013
    • Majunath Goudar's avatar
      Input: fix PWM-related undefined reference errors · 33777f34
      Majunath Goudar authored
      
      
      This patch adds a PWM dependency to configure the INPUT_MAX8997_HAPTIC
      and INPUT_PWM_BEEPER. Without this patch, build system can lead to build
      failure. This was observed during randconfig testing, in which
      INPUT_MAX8997_HAPTIC or INPUT_PWM_BEEPER was enabled w/o PWM being
      enabled, leading to the following errors:
      
      init/built-in.o
      drivers/built-in.o: In function `max8997_haptic_disable':
      :(.text+0x1073a0): undefined reference to `pwm_disable'
      drivers/built-in.o: In function `max8997_haptic_remove':
      :(.text+0x1073fc): undefined reference to `pwm_free'
      drivers/built-in.o: In function `max8997_haptic_play_effect_work':
      :(.text+0x1074f0): undefined reference to `pwm_config'
      :(.text+0x1075b0): undefined reference to `pwm_enable'
      drivers/built-in.o: In function `max8997_haptic_probe':
      :(.text+0x1076f8): undefined reference to `pwm_request'
      :(.text+0x1077e8): undefined reference to `pwm_free'
      drivers/built-in.o: In function `pwm_beeper_resume':
      :(.text+0x1081a4): undefined reference to `pwm_config'
      make: *** [vmlinux] Error 1
      
      Signed-off-by: default avatarManjunath Goudar <csmanjuvijay@gmail.com>
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      33777f34