aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2012-04-30 13:50:56 +0000
committerArnd Bergmann <[email protected]>2012-10-12 17:43:26 +0200
commitfdc858a466b738d35d3492bc7cf77b1dac98bf7c (patch)
tree9e9fe3f8e3b3c00fef250d6d6d02861ca33761a0 /tools/perf/util/scripting-engines/trace-event-python.c
parent8855e49b64668463d0db2f0deca7b517fdb63eee (diff)
pcmcia: sharpsl: don't discard sharpsl_pcmcia_ops
The sharpsl_pcmcia_ops structure gets passed into sa11xx_drv_pcmcia_probe, where it gets accessed at run-time, unlike all other pcmcia drivers that pass their structures into platform_device_add_data, which makes a copy. This means the gcc warning is valid and the structure must not be marked as __initdata. Without this patch, building collie_defconfig results in: drivers/pcmcia/pxa2xx_sharpsl.c:22:31: fatal error: mach-pxa/hardware.h: No such file or directory compilation terminated. make[3]: *** [drivers/pcmcia/pxa2xx_sharpsl.o] Error 1 make[2]: *** [drivers/pcmcia] Error 2 make[1]: *** [drivers] Error 2 make: *** [sub-make] Error 2 Signed-off-by: Arnd Bergmann <[email protected]> Cc: Dominik Brodowski <[email protected]> Cc: Russell King <[email protected]> Cc: Pavel Machek <[email protected]> Cc: [email protected] Cc: Jochen Friedrich <[email protected]> Cc: [email protected]
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions