mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-12-29 09:16:33 +00:00
gpio: idio-16: Actually make use of the GPIO_IDIO_16 symbol namespace
DEFAULT_SYMBOL_NAMESPACE must already be defined when <linux/export.h>
is included. So move the define above the include block.
Fixes: b9b1fc1ae1
("gpio: idio-16: Introduce the ACCES IDIO-16 GPIO library module")
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Acked-by: William Breathitt Gray <wbg@kernel.org>
Link: https://lore.kernel.org/r/20241203172631.1647792-2-u.kleine-koenig@baylibre.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
This commit is contained in:
parent
dd4d315f38
commit
9ac4b58fce
@ -3,6 +3,9 @@
|
|||||||
* GPIO library for the ACCES IDIO-16 family
|
* GPIO library for the ACCES IDIO-16 family
|
||||||
* Copyright (C) 2022 William Breathitt Gray
|
* Copyright (C) 2022 William Breathitt Gray
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define DEFAULT_SYMBOL_NAMESPACE "GPIO_IDIO_16"
|
||||||
|
|
||||||
#include <linux/bits.h>
|
#include <linux/bits.h>
|
||||||
#include <linux/device.h>
|
#include <linux/device.h>
|
||||||
#include <linux/err.h>
|
#include <linux/err.h>
|
||||||
@ -14,8 +17,6 @@
|
|||||||
|
|
||||||
#include "gpio-idio-16.h"
|
#include "gpio-idio-16.h"
|
||||||
|
|
||||||
#define DEFAULT_SYMBOL_NAMESPACE "GPIO_IDIO_16"
|
|
||||||
|
|
||||||
#define IDIO_16_DAT_BASE 0x0
|
#define IDIO_16_DAT_BASE 0x0
|
||||||
#define IDIO_16_OUT_BASE IDIO_16_DAT_BASE
|
#define IDIO_16_OUT_BASE IDIO_16_DAT_BASE
|
||||||
#define IDIO_16_IN_BASE (IDIO_16_DAT_BASE + 1)
|
#define IDIO_16_IN_BASE (IDIO_16_DAT_BASE + 1)
|
||||||
|
Loading…
Reference in New Issue
Block a user