Skip to content
Commit 07852c3f authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski
Browse files

memory: omap-gpmc: Include <linux/sizes.h> for SZ_16M



The driver uses SZ_16M which is defined in include/linux/sizes.h.  On
ARM it was pulled by other headers but its inclusion is necessary for
compile testing on other architectures.

This fixes build error when compile testing on i386 architecture:

    drivers/memory/omap-gpmc.c: In function ‘gpmc_cs_remap’:
    drivers/memory/omap-gpmc.c:961:12: error: ‘SZ_16M’ undeclared (first use in this function)

Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
parent 3aa5a6c2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment