mirror of
https://github.com/apache/nuttx.git
synced 2026-05-29 20:56:47 +08:00
mtd: Replace MTDIOC_XIPBASE with BIOC_XIPBASE
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
177e1ced3f
commit
6b6c11f0ad
@@ -530,7 +530,7 @@ int romfs_hwconfigure(struct romfs_mountpt_s *rm)
|
||||
|
||||
if (INODE_IS_MTD(inode))
|
||||
{
|
||||
ret = MTD_IOCTL(inode->u.i_mtd, MTDIOC_XIPBASE,
|
||||
ret = MTD_IOCTL(inode->u.i_mtd, BIOC_XIPBASE,
|
||||
(unsigned long)&rm->rm_xipbase);
|
||||
}
|
||||
else if (inode->u.i_bops->ioctl != NULL)
|
||||
|
||||
Reference in New Issue
Block a user