accel/qaic: Add AIC200 support
[drm/drm-misc.git] / include / linux / mtd / plat-ram.h
blob09441856d24416e19aef1042d4836ee2fad30a16
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* linux/include/linux/mtd/plat-ram.h
4 * (c) 2004 Simtec Electronics
5 * http://www.simtec.co.uk/products/SWLINUX/
6 * Ben Dooks <ben@simtec.co.uk>
8 * Generic platform device based RAM map
9 */
11 #ifndef __LINUX_MTD_PLATRAM_H
12 #define __LINUX_MTD_PLATRAM_H __FILE__
14 #define PLATRAM_RO (0)
15 #define PLATRAM_RW (1)
17 struct platdata_mtd_ram {
18 const char *mapname;
19 const char * const *map_probes;
20 const char * const *probes;
21 struct mtd_partition *partitions;
22 int nr_partitions;
23 int bankwidth;
25 /* control callbacks */
27 void (*set_rw)(struct device *dev, int to);
30 #endif /* __LINUX_MTD_PLATRAM_H */