diff options
author | Olof Johansson <[email protected]> | 2013-08-20 11:07:53 -0700 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2013-08-21 21:28:08 +1000 |
commit | a246968edcfcfe0503fa9bcd5a444e7a5b9986dc (patch) | |
tree | 0e14f939ec5e826260c32fc47ee556b976bd5d95 /tools/perf/scripts | |
parent | f5e4626097f865783177f265d7793995bd8a2a76 (diff) |
hwrng: omap - reorder OMAP TRNG driver code
The newly added omap4 support in the driver was added without
consideration for building older configs. When building omap1_defconfig,
it resulted in:
drivers/char/hw_random/omap-rng.c:190:12: warning: 'omap4_rng_init' defined but not used [-Wunused-function]
drivers/char/hw_random/omap-rng.c:215:13: warning: 'omap4_rng_cleanup' defined but not used [-Wunused-function]
drivers/char/hw_random/omap-rng.c:251:20: warning: 'omap4_rng_irq' defined but not used [-Wunused-function]
Move the code around so it is grouped with its operations struct, which
for the omap4 case means also under the #ifdef CONFIG_OF, where it needs
to be.
Signed-off-by: Olof Johansson <[email protected]>
Reviewed-by: Lokesh Vutla <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions