Thread (55 messages) 55 messages, 2 authors, 2020-08-17

Re: [PATCH v2 03/29] memory: omap-gpmc: Include <linux/sizes.h> for SZ_16M

From: Krzysztof Kozlowski <krzk@kernel.org>
Date: 2020-07-24 14:09:54
Also in: linux-mediatek, linux-omap, linux-samsung-soc, linux-tegra, lkml

On Fri, Jul 24, 2020 at 09:40:12AM +0200, Krzysztof Kozlowski wrote:
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: Krzysztof Kozlowski <krzk@kernel.org>
---
 drivers/memory/omap-gpmc.c | 1 +
Applied (and part of pull request to arm-soc).

Best regards,
Krzysztof

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help