aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2015-05-19 15:40:37 +0200
committerSimon Horman <[email protected]>2015-05-25 10:36:01 +0900
commit66f72f0c8e0d37339b6be1373c61d2a133c8b422 (patch)
tree8244d73a786d95a8f7d590917dd33b5bf7c91204 /tools/perf/util/scripting-engines/trace-event-perl.c
parentb787f68c36d49bb1d9236f403813641efa74a031 (diff)
ARM: shmobile: only select sound drivers that build
A couple of codec drivers are selected by shmobile platform code, but depend on I2C, which results in a build error: sound/soc/codecs/ak4642.c:638:1: warning: data definition has no type or storage class module_i2c_driver(ak4642_i2c_driver); ^ sound/soc/codecs/ak4642.c:638:1: error: type defaults to 'int' in declaration of 'module_i2c_driver' [-Werror=implicit-int] sound/soc/codecs/ak4642.c:638:1: warning: parameter names (without types) in function declaration sound/soc/codecs/ak4642.c:627:26: warning: 'ak4642_i2c_driver' defined but not used [-Wunused-variable] This ensures that we do not enable the respective drivers when I2C is disabled. Signed-off-by: Arnd Bergmann <[email protected]> Acked-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Simon Horman <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions