forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers/i2c: Add missing HAS_DTS_I2C to nios
The NIOS I2C driver supported DTS, but missed HAS_DTS_I2C in Kconfig for it. Signed-off-by: Kumar Gala <[email protected]>
- Loading branch information
Showing
2 changed files
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/* | ||
* Copyright (c) 2019 Linaro Ltd. | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
* | ||
* This file is a temporary workaround for mapping of the generated information | ||
* to the current driver definitions. This will be removed when the drivers | ||
* are modified to handle the generated information, or the mapping of | ||
* generated data matches the driver definitions. | ||
*/ | ||
|
||
#define CONFIG_I2C_0_NAME DT_NIOS2_I2C_100200_LABEL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters