]> git.baikalelectronics.ru Git - kernel.git/commit
clocksource: scx200_hrt: Fix the build
authorIngo Molnar <mingo@elte.hu>
Wed, 22 Feb 2012 12:19:37 +0000 (13:19 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 22 Feb 2012 12:25:16 +0000 (13:25 +0100)
commitf4abb3479e6de3c88514f2c3e57570b51f6b633d
tree5ceb7d0252f029650b3d0d4d955089be5bc43436
parent82290858aee43e918a0c42c96ae78234f3f814f4
clocksource: scx200_hrt: Fix the build

This commit:

  5506d612d8c7: clocksource: scx200_hrt: Convert scx200 to use clocksource_register_hz

Breaks the build on x86-32:

  drivers/clocksource/scx200_hrt.c: In function ‘init_hrt_clocksource’:
  drivers/clocksource/scx200_hrt.c:95:0: error: unterminated argument list invoking macro "pr_info"
  drivers/clocksource/scx200_hrt.c:84:2: error: ‘pr_info’ undeclared (first use in this function)

It could not possibly have been build tested, because it had this mismerge:

pr_info("enabling scx200 high-res timer (%s MHz +%d ppm)\n",
printk(KERN_INFO "enabling scx200 high-res timer (%s MHz +%d ppm)\n",
mhz27 ? "27":"1", ppm);

Cc: Jim Cromie <jim.cromie@gmail.com>
Cc: John Stultz <john.stultz@linaro.org>
Link: http://lkml.kernel.org/n/tip-jceb26fns5w7tv8edlivhxpa@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
drivers/clocksource/scx200_hrt.c