diff options
author | 2015-10-05 19:23:14 +0200 | |
---|---|---|
committer | 2015-10-17 21:05:43 -0700 | |
commit | 37f0679964fa8a1c345accb4a36da09c07d3b6a3 (patch) | |
tree | 124576006a7ea93ac953e490feb7c0b7a8348c68 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | serial: atmel: fix compiler warning on address cast (diff) | |
download | wireguard-linux-37f0679964fa8a1c345accb4a36da09c07d3b6a3.tar.xz wireguard-linux-37f0679964fa8a1c345accb4a36da09c07d3b6a3.zip |
tty: serial: men_z135_uart.c: use mcb memory region size instead of hardcoded one
There is no need to hardcode the MEN_Z135_MEM_SIZE. The MCB subsystem
already knowns the size which is located in the chameleon table.
MCB parse the chameleon table to get the resources of each IP and provide
the mcb_request_mem function to get those resources.
Use mcb_request_mem to get the resources. This function also takes care of
the memory region naming allocated by the driver for each of the instances.
Signed-off-by: Andreas Werner <andy@wernerandy.de>
Acked-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions