1. 15 12月, 2015 19 次提交
  2. 17 11月, 2015 1 次提交
    • A
      clocksource: Disallow drivers for ARCH_USES_GETTIMEOFFSET · 3da6d49e
      Arnd Bergmann 提交于
      We can now select clocksource drivers like ti-32k and CONFIG_OF
      on ancient machines that still use gettimeoffset, and the combination
      results in a link error.
      
      arch/arm/kernel/built-in.o: In function `time_init':
      (.init.text+0xc28): undefined reference to `clocksource_probe'
      
      The reason for this is that the Makefile is hidden behind
      CONFIG_ARCH_USES_GETTIMEOFFSET, but the Kconfig file is not, and
      it has shown up just now because the ti-32k driver was added
      and can be selected using COMPILE_TEST on all platforms.
      
      This patch hides the Kconfig menu in CONFIG_ARCH_USES_GETTIMEOFFSET
      as well.
      
      Fixes: dfedaf10 "clocksource: ti-32k: make it depend on GENERIC_CLOCKSOURCE"
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: linux-arm-kernel@lists.infradead.org
      Cc: Felipe Balbi <balbi@ti.com>
      Cc: Tony Lindgren <tony@atomide.com>
      Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
      Link: http://lkml.kernel.org/r/7579471.4N90fYPQOK@wuerfelSigned-off-by: NThomas Gleixner <tglx@linutronix.de>
      3da6d49e
  3. 17 10月, 2015 2 次提交
  4. 16 10月, 2015 1 次提交
  5. 01 10月, 2015 2 次提交
  6. 03 9月, 2015 1 次提交
  7. 10 8月, 2015 1 次提交
  8. 24 7月, 2015 1 次提交
  9. 24 6月, 2015 1 次提交
  10. 23 6月, 2015 1 次提交
  11. 22 6月, 2015 1 次提交
    • P
      clocksource: Increase dependencies of timer-stm32 to limit build wreckage · 1cb6c215
      Paul Gortmaker 提交于
      This driver leaks out into arch/parisc builds that don't have
      CONFIG_GENERIC_CLOCKEVENTS, leading to the following (truncated)
      wreckage:
      
        CC      drivers/clocksource/timer-stm32.o
      drivers/clocksource/timer-stm32.c:38:28: error: field 'evtdev' has incomplete type
      drivers/clocksource/timer-stm32.c:44:19: warning: 'enum clock_event_mode' declared inside parameter list
      drivers/clocksource/timer-stm32.c:44:19: warning: its scope is only this definition or declaration, which is probably not what you want
      drivers/clocksource/timer-stm32.c:43:62: error: parameter 1 ('mode') has incomplete type
      drivers/clocksource/timer-stm32.c:43:13: error: function declaration isn't a prototype
      drivers/clocksource/timer-stm32.c: In function 'stm32_clock_event_set_mode':
      drivers/clocksource/timer-stm32.c:47:3: error: type defaults to 'int' in declaration of '__mptr'
      drivers/clocksource/timer-stm32.c:47:3: warning: initialization from incompatible pointer type
      drivers/clocksource/timer-stm32.c:51:7: error: 'CLOCK_EVT_MODE_PERIODIC' undeclared (first use in this function)
      drivers/clocksource/timer-stm32.c:51:7: note: each undeclared identifier is reported only once for each function it appears in
      drivers/clocksource/timer-stm32.c:56:7: error: 'CLOCK_EVT_MODE_ONESHOT' undeclared (first use in this function)
      
      Tighten up the dependencies to limit where it gets built by copying
      the style of the Kconfig line for CLKSRC_EFM32 a few lines above.
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: Chanwoo Choi <cw00.choi@samsung.com>
      Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
      Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
      Link: http://lkml.kernel.org/r/1434841352-24300-1-git-send-email-paul.gortmaker@windriver.comSigned-off-by: NThomas Gleixner <tglx@linutronix.de>
      1cb6c215
  12. 03 6月, 2015 1 次提交
  13. 02 6月, 2015 5 次提交
  14. 06 4月, 2015 1 次提交
  15. 01 4月, 2015 1 次提交
  16. 26 3月, 2015 1 次提交