]> git.dujemihanovic.xyz Git - u-boot.git/commit
compat: Remove is_power_of_2() definition
authorFabio Estevam <fabio.estevam@freescale.com>
Thu, 5 Nov 2015 14:43:39 +0000 (12:43 -0200)
committerTom Rini <trini@konsulko.com>
Thu, 5 Nov 2015 21:46:59 +0000 (16:46 -0500)
commitf8fdb81f6cbf9387fee7a8ab82b315798a7038ba
tree5399a7ffe05509a78b1454acfbed8c19181e3649
parentde4d2e9e7ce0f9fda76f07bafafefa10f01a9605
compat: Remove is_power_of_2() definition

Use the is_power_of_2() definition from log2.h to align with the
kernel implementation.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Jagan Teki <jteki@openedev.com>
arch/arm/mach-mvebu/mbus.c
drivers/mtd/mtdcore.c
drivers/mtd/ubi/build.c
fs/ubifs/super.c
include/linux/compat.h