mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 16:41:25 +00:00
[MTD] [NOR] Rename and export new cfi_qry_*() functions
They need to be exported, so let's give them less generic-sounding names while we're at it. Original export patch, along with the suggestion about the nomenclature, from Stephen Rothwell. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
This commit is contained in:
parent
8c64038e4c
commit
c314dfdc35
3 changed files with 31 additions and 27 deletions
|
@ -483,12 +483,12 @@ static inline void cfi_udelay(int us)
|
|||
}
|
||||
}
|
||||
|
||||
int __xipram qry_present(struct map_info *map, __u32 base,
|
||||
struct cfi_private *cfi);
|
||||
int __xipram qry_mode_on(uint32_t base, struct map_info *map,
|
||||
struct cfi_private *cfi);
|
||||
void __xipram qry_mode_off(uint32_t base, struct map_info *map,
|
||||
struct cfi_private *cfi);
|
||||
int __xipram cfi_qry_present(struct map_info *map, __u32 base,
|
||||
struct cfi_private *cfi);
|
||||
int __xipram cfi_qry_mode_on(uint32_t base, struct map_info *map,
|
||||
struct cfi_private *cfi);
|
||||
void __xipram cfi_qry_mode_off(uint32_t base, struct map_info *map,
|
||||
struct cfi_private *cfi);
|
||||
|
||||
struct cfi_extquery *cfi_read_pri(struct map_info *map, uint16_t adr, uint16_t size,
|
||||
const char* name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue