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 | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/arch/arm/mach-imx/imx-bbu-internal.c b/arch/arm/mach-imx/imx-bbu-internal.c index c47a1726a..d45fe1b68 100644 --- a/arch/arm/mach-imx/imx-bbu-internal.c +++ b/arch/arm/mach-imx/imx-bbu-internal.c @@ -471,9 +471,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 @@ -481,9 +479,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