]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: exynos: Include missing CPU header in gpio.h
authorSam Protsenko <semen.protsenko@linaro.org>
Fri, 20 Oct 2023 21:46:32 +0000 (16:46 -0500)
committerMinkyu Kang <mk7.kang@samsung.com>
Mon, 13 Nov 2023 07:18:01 +0000 (16:18 +0900)
commitc9ab9f30c8e41426d9d028821895ef3853f683fc
tree8e306aa42f422b054e9fec6e314580c0710673d5
parent585a2aaac2ac043540b6f2e148de79517ce3a683
arm: exynos: Include missing CPU header in gpio.h

arch/arm/include/asm/arch/gpio.h relies on definitions from cpu.h.
Include it explicitly in gpio.h. Otherwise next build error may occur:

    In file included from ./arch/arm/include/asm/gpio.h:7,
                     from include/cros_ec.h:14,
                     from board/samsung/common/board.c:8:
        ./arch/arm/include/asm/arch/gpio.h:1357:4:
              error: 'EXYNOS4_GPIO_PART1_BASE' undeclared here
              (not in a function); did you mean 'EXYNOS4_GPIO_MAX_PORT'?
         1357 |  { EXYNOS4_GPIO_PART1_BASE, EXYNOS4_GPIO_MAX_PORT_PART_1 },
              |    ^~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
arch/arm/mach-exynos/include/mach/gpio.h