sync with OpenBSD -current
This commit is contained in:
parent
a51405ccff
commit
4250ddb86f
16 changed files with 2065 additions and 1231 deletions
|
@ -18,15 +18,10 @@ struct component_master_ops {
|
|||
void (*unbind)(struct device *);
|
||||
};
|
||||
|
||||
int component_add(struct device *, const struct component_ops *);
|
||||
#define component_del(a, b)
|
||||
#define component_add(a, b) 0
|
||||
|
||||
static inline int
|
||||
component_bind_all(struct device *dev, void *data)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int component_bind_all(struct device *, void *);
|
||||
#define component_unbind_all(a, b)
|
||||
|
||||
int component_compare_of(struct device *, void *);
|
||||
|
|
|
@ -12,6 +12,7 @@ struct platform_device {
|
|||
int num_resources;
|
||||
struct resource *resource;
|
||||
struct device *parent;
|
||||
bus_space_tag_t iot;
|
||||
bus_dma_tag_t dmat;
|
||||
int node;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue