summaryrefslogtreecommitdiff
path: root/arch/powerpc/cpu/mpc5xxx/cpu.c
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2012-09-16 18:54:22 +0200
committerTom Rini <trini@ti.com>2012-10-15 11:53:59 -0700
commitf2760c4acd5b7a198632d002528ec7c227ea27b8 (patch)
tree87e122e52241ab8f3d3e999caad780f2d8883894 /arch/powerpc/cpu/mpc5xxx/cpu.c
parentc1f5805a9dd5ea50b108e1d39a16edf710ea17e6 (diff)
serial: Enhance the manual relocation
Enhance the manual relocation of drivers operations structure by checking if the entries are NULL and increment them only if they are not. This allows for setting any entry to NULL and it will survive the manual relocation. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Marek Vasut <marek.vasut@gmail.com> Cc: Tom Rini <trini@ti.com> Cc: Anatolij Gustschin <agust@denx.de> Cc: Stefan Roese <sr@denx.de>
Diffstat (limited to 'arch/powerpc/cpu/mpc5xxx/cpu.c')
0 files changed, 0 insertions, 0 deletions