summaryrefslogtreecommitdiff
path: root/include/linux/mtd/cfi.h
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2008-08-07 11:55:07 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-08-07 11:55:07 +0100
commitc314dfdc358847eef0fc07ec8682e1acc8cadd00 (patch)
tree46cd8005aeafaca0e6298f37e18c6bc0c3b41384 /include/linux/mtd/cfi.h
parent8c64038e4c077b2b37c6b27d0c40c77a3ddfaeef (diff)
downloadlwn-c314dfdc358847eef0fc07ec8682e1acc8cadd00.tar.gz
lwn-c314dfdc358847eef0fc07ec8682e1acc8cadd00.zip
[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>
Diffstat (limited to 'include/linux/mtd/cfi.h')
-rw-r--r--include/linux/mtd/cfi.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/linux/mtd/cfi.h b/include/linux/mtd/cfi.h
index 3058917d7b92..ee5124ec319e 100644
--- a/include/linux/mtd/cfi.h
+++ b/include/linux/mtd/cfi.h
@@ -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);