arch/risc-v/src/gap8: The correct name of the chip.h should be gap8.h. This in analogy to other architectures. There is frequently a chip.h header file in the arch/src directory, but it has a different function.
This commit is contained in:
parent
6ac4681233
commit
f4a5f7a3b9
@ -1,5 +1,5 @@
|
||||
/************************************************************************************
|
||||
* arch/risc-v/src/gap8/chip.h
|
||||
* arch/risc-v/src/gap8/gap8.h
|
||||
* Peripheral registers on GAP8
|
||||
*
|
||||
* Copyright (C) 2018 Gregory Nutt. All rights reserved.
|
||||
@ -35,8 +35,8 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_RISC_V_SRC_GAP8_CHIP_H
|
||||
#define __ARCH_RISC_V_SRC_GAP8_CHIP_H
|
||||
#ifndef __ARCH_RISC_V_SRC_GAP8_GAP8_H
|
||||
#define __ARCH_RISC_V_SRC_GAP8_GAP8_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
@ -2025,4 +2025,4 @@ typedef struct
|
||||
|
||||
#endif
|
||||
|
||||
#endif /* __ARCH_RISC_V_SRC_GAP8_CHIP_H */
|
||||
#endif /* __ARCH_RISC_V_SRC_GAP8_GAP8_H */
|
@ -46,7 +46,7 @@
|
||||
* Included Files
|
||||
************************************************************************************/
|
||||
|
||||
#include "chip.h"
|
||||
#include "gap8.h"
|
||||
|
||||
/************************************************************************************
|
||||
* Public Function Prototypes
|
||||
|
@ -50,7 +50,7 @@
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "chip.h"
|
||||
#include "gap8.h"
|
||||
|
||||
/************************************************************************************
|
||||
* Pre-Processor Definitions
|
||||
|
@ -47,7 +47,7 @@
|
||||
* Included Files
|
||||
************************************************************************************/
|
||||
|
||||
#include "chip.h"
|
||||
#include "gap8.h"
|
||||
|
||||
/************************************************************************************
|
||||
* Public Function Prototypes
|
||||
|
@ -45,7 +45,7 @@
|
||||
* Included Files
|
||||
************************************************************************************/
|
||||
|
||||
#include "chip.h"
|
||||
#include "gap8.h"
|
||||
#include "gap8_udma.h"
|
||||
#include "gap8_gpio.h"
|
||||
|
||||
|
@ -53,7 +53,7 @@
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "chip.h"
|
||||
#include "gap8.h"
|
||||
|
||||
/************************************************************************************
|
||||
* Pre-processor Definitions
|
||||
|
@ -9,7 +9,7 @@
|
||||
#include <syslog.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "chip.h"
|
||||
#include "gap8.h"
|
||||
#include "gap8_fll.h"
|
||||
|
||||
/****************************************************************************
|
||||
|
Loading…
x
Reference in New Issue
Block a user