mtdpart.c (5b8e6bb517ea4f6d8ba9fa11c84e0373bc7ead2c) | mtdpart.c (7b15e2bb9b1026925f0f98243cd6cf80bd3fb47d) |
---|---|
1/* 2 * Simple MTD partitioning layer 3 * 4 * (C) 2000 Nicolas Pitre <nico@cam.org> 5 * 6 * This code is GPL 7 * 8 * 02-21-2002 Thomas Gleixner <gleixner@autronix.de> 9 * added support for read_oob, write_oob 10 */ 11 12#include <common.h> 13#include <malloc.h> 14#include <asm/errno.h> 15 16#include <linux/types.h> 17#include <linux/list.h> 18#include <linux/mtd/mtd.h> 19#include <linux/mtd/partitions.h> | 1/* 2 * Simple MTD partitioning layer 3 * 4 * (C) 2000 Nicolas Pitre <nico@cam.org> 5 * 6 * This code is GPL 7 * 8 * 02-21-2002 Thomas Gleixner <gleixner@autronix.de> 9 * added support for read_oob, write_oob 10 */ 11 12#include <common.h> 13#include <malloc.h> 14#include <asm/errno.h> 15 16#include <linux/types.h> 17#include <linux/list.h> 18#include <linux/mtd/mtd.h> 19#include <linux/mtd/partitions.h> |
20#include <linux/mtd/compat.h> | 20#include <linux/compat.h> |
21 22/* Our partition linked list */ 23struct list_head mtd_partitions; 24 25/* Our partition node structure */ 26struct mtd_part { 27 struct mtd_info mtd; 28 struct mtd_info *master; --- 448 unchanged lines hidden --- | 21 22/* Our partition linked list */ 23struct list_head mtd_partitions; 24 25/* Our partition node structure */ 26struct mtd_part { 27 struct mtd_info mtd; 28 struct mtd_info *master; --- 448 unchanged lines hidden --- |