Alias imx5*_bbu_internal_mmc_register_handler() to imx_bbu_internal_mmc_register_handler() Signed-off-by: Andrey Smirnov <andrew.smirnov@xxxxxxxxx> --- arch/arm/mach-imx/imx-bbu-internal.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/arch/arm/mach-imx/imx-bbu-internal.c b/arch/arm/mach-imx/imx-bbu-internal.c index 3ef49a859..e7fbe3e16 100644 --- a/arch/arm/mach-imx/imx-bbu-internal.c +++ b/arch/arm/mach-imx/imx-bbu-internal.c @@ -467,10 +467,7 @@ int imx51_bbu_internal_spi_i2c_register_handler(const char *name, int imx51_bbu_internal_mmc_register_handler(const char *name, const char *devicefile, unsigned long flags) -{ - - return imx_bbu_internal_mmc_register_handler(name, devicefile, flags); -} + __alias(imx_bbu_internal_mmc_register_handler); /* * Register an i.MX53 internal boot update handler for MMC/SD @@ -478,9 +475,7 @@ int imx51_bbu_internal_mmc_register_handler(const char *name, int imx53_bbu_internal_mmc_register_handler(const char *name, const char *devicefile, unsigned long flags) -{ - return imx_bbu_internal_mmc_register_handler(name, devicefile, flags); -} + __alias(imx_bbu_internal_mmc_register_handler); /* * Register an i.MX6 internal boot update handler for i2c/spi -- 2.17.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox