move max7318 driver out of the folder too

This commit is contained in:
zhiayang 2022-06-04 16:40:51 +08:00
parent bda838e427
commit 4a368a61ae
No known key found for this signature in database
GPG key ID: 5E2F30AD6F08571F
6 changed files with 4 additions and 8 deletions

View file

@ -6,3 +6,6 @@ zephyr_library_include_directories(${CMAKE_SOURCE_DIR}/include)
zephyr_library_sources_ifdef(CONFIG_GPIO_MCP23017 gpio_mcp23017.c)
zephyr_library_sources_ifndef(CONFIG_GPIO_MCP23017 ${ZEPHYR_BASE}/misc/empty_file.c)
zephyr_library_sources_ifdef(CONFIG_GPIO_MAX7318 gpio_max7318.c)
zephyr_library_sources_ifndef(CONFIG_GPIO_MAX7318 ${ZEPHYR_BASE}/misc/empty_file.c)

View file

@ -1 +1,2 @@
rsource "Kconfig.mcp23017"
rsource "Kconfig.max7318"

View file

@ -1,8 +0,0 @@
# Copyright (c) 2022 The ZMK Contributors
# SPDX-License-Identifier: MIT
zephyr_library_named(zmk__drivers__gpio)
zephyr_library_include_directories(${CMAKE_SOURCE_DIR}/include)
zephyr_library_sources_ifdef(CONFIG_GPIO_MAX7318 gpio_max7318.c)
zephyr_library_sources_ifndef(CONFIG_GPIO_MAX7318 ${ZEPHYR_BASE}/misc/empty_file.c)