mfd: timberdale: Move GPIO_NR_PINS into the driver
This symbol is only used inside the Timberdale MFD driver. Move into the .c file as there's no need for it to be exposed in a header. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://patch.msgid.link/20260327-gpio-timberdale-swnode-v3-1-9a1bc1b2b124@oss.qualcomm.com Signed-off-by: Lee Jones <lee@kernel.org>
This commit is contained in:
1 parent
254f49634e
commit
73ae5f8c23
2 files changed
+2
-1
No files matched your search
@@ -37,6 +37,8 @@
|
||||
|
||||
#define DRIVER_NAME "timberdale"
|
||||
|
||||
#define GPIO_NR_PINS 16
|
||||
|
||||
struct timberdale_device {
|
||||
resource_size_t ctl_mapbase;
|
||||
unsigned char __iomem *ctl_membase;
|
||||
|
||||
@@ -113,7 +113,6 @@
|
||||
#define GPIO_PIN_ASCB 8
|
||||
#define GPIO_PIN_INIC_RST 14
|
||||
#define GPIO_PIN_BT_RST 15
|
||||
#define GPIO_NR_PINS 16
|
||||
|
||||
/* DMA Channels */
|
||||
#define DMA_UART_RX 0
|
||||
|
||||
Reference in new issue
Block a user