ARM: mmp: rename pxa_register_device
authorArnd Bergmann <arnd@arndb.de>
Thu, 19 Sep 2019 10:25:06 +0000 (12:25 +0200)
committerArnd Bergmann <arnd@arndb.de>
Sat, 7 May 2022 20:56:16 +0000 (22:56 +0200)
commit6922a3d14e85040c022bbad23af4de5c03557e21
tree920ebd1e8c2d863522d99376f6e290ab4e487e4f
parent340d01335891347303e4ae8d07b4c7bfc1fa6dcc
ARM: mmp: rename pxa_register_device

In a multiplatform kernel that includes both pxa and mmp, we get a link
failure from the clash of two pxa_register_device functions.

Rename the one in mach-mmp to mmp_register_device, along with with the
rename of pxa_device_desc.

Acked-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-mmp/devices.c
arch/arm/mach-mmp/devices.h
arch/arm/mach-mmp/mmp2.h
arch/arm/mach-mmp/pxa168.h
arch/arm/mach-mmp/pxa910.h
arch/arm/mach-mmp/ttc_dkb.c