.. | .. |
---|
1 | | -/* SPDX-License-Identifier: GPL-2.0 */ |
---|
| 1 | +/* SPDX-License-Identifier: MIT */ |
---|
2 | 2 | #ifndef __NVKM_SUBDEV_H__ |
---|
3 | 3 | #define __NVKM_SUBDEV_H__ |
---|
4 | 4 | #include <core/device.h> |
---|
.. | .. |
---|
24 | 24 | }; |
---|
25 | 25 | |
---|
26 | 26 | extern const char *nvkm_subdev_name[NVKM_SUBDEV_NR]; |
---|
| 27 | +int nvkm_subdev_new_(const struct nvkm_subdev_func *, struct nvkm_device *, |
---|
| 28 | + int index, struct nvkm_subdev **); |
---|
27 | 29 | void nvkm_subdev_ctor(const struct nvkm_subdev_func *, struct nvkm_device *, |
---|
28 | 30 | int index, struct nvkm_subdev *); |
---|
29 | 31 | void nvkm_subdev_del(struct nvkm_subdev **); |
---|