summaryrefslogtreecommitdiffstats
path: root/include/partition.h
blob: 373134afad252cc5803a2980ad81ffcff12c7fb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __PARTITION_H
#define __PARTITION_H

#include <driver.h>

struct partition {
        int num;

	int flags;

        loff_t offset;

        struct device_d *physdev;
        struct device_d device;

        char name[16];
	struct cdev cdev;
};

#endif /* __PARTITION_H */