sync with OpenBSD -current

This commit is contained in:
purplerain 2024-01-14 01:35:08 +00:00
parent a51405ccff
commit 4250ddb86f
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
16 changed files with 2065 additions and 1231 deletions

View file

@ -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 *);

View file

@ -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;