mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
Remove struct platform_data, it was never used.
Sponsored by: ABT Systems Ltd
This commit is contained in:
parent
10912ba837
commit
6c78e95a80
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=306439
@ -70,10 +70,6 @@ struct platform_kobj {
|
||||
struct platform_class *cls;
|
||||
};
|
||||
|
||||
struct platform_data {
|
||||
int delay_count;
|
||||
};
|
||||
|
||||
typedef struct platform_kobj *platform_t;
|
||||
typedef struct platform_class platform_def_t;
|
||||
#define platform_method_t kobj_method_t
|
||||
@ -100,11 +96,6 @@ extern platform_method_t fdt_platform_methods[];
|
||||
#define FDT_PLATFORM_CTASSERT(delay) CTASSERT(delay == 0)
|
||||
#endif
|
||||
|
||||
#define PLATFORM_DATA(NAME, delay) \
|
||||
static struct platform_data NAME ## _platc = { \
|
||||
.delay_count = delay; \
|
||||
};
|
||||
|
||||
#define FDT_PLATFORM_DEF2(NAME, VAR_NAME, NAME_STR, size, compatible, \
|
||||
delay) \
|
||||
FDT_PLATFORM_CTASSERT(delay); \
|
||||
|
Loading…
Reference in New Issue
Block a user