mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-30 07:34:12 +08:00
402d326519
Present backing device capabilities for MTD character device files to allow NOMMU mmap to do direct mapping where possible. Signed-off-by: David Howells <dhowells@redhat.com> Tested-by: Bernd Schmidt <bernd.schmidt@analog.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
18 lines
571 B
C
18 lines
571 B
C
/* Internal MTD definitions
|
|
*
|
|
* Copyright © 2006 Red Hat, Inc. All Rights Reserved.
|
|
* Written by David Howells (dhowells@redhat.com)
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* as published by the Free Software Foundation; either version
|
|
* 2 of the License, or (at your option) any later version.
|
|
*/
|
|
|
|
/*
|
|
* mtdbdi.c
|
|
*/
|
|
extern struct backing_dev_info mtd_bdi_unmappable;
|
|
extern struct backing_dev_info mtd_bdi_ro_mappable;
|
|
extern struct backing_dev_info mtd_bdi_rw_mappable;
|