a2b7cd183b
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
25 lines
356 B
C
25 lines
356 B
C
#ifndef __PARTITION_H
|
|
#define __PARTITION_H
|
|
|
|
struct device_d;
|
|
|
|
#define PARTITION_FIXED (1 << 0)
|
|
#define PARTITION_READONLY (1 << 1)
|
|
|
|
struct partition {
|
|
int num;
|
|
|
|
int flags;
|
|
|
|
unsigned long offset;
|
|
|
|
struct device_d *physdev;
|
|
struct device_d device;
|
|
|
|
char name[16];
|
|
struct cdev cdev;
|
|
};
|
|
|
|
#endif /* __PARTITION_H */
|
|
|