hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/gpu/drm/nouveau/include/nvkm/core/subdev.h
....@@ -1,4 +1,4 @@
1
-/* SPDX-License-Identifier: GPL-2.0 */
1
+/* SPDX-License-Identifier: MIT */
22 #ifndef __NVKM_SUBDEV_H__
33 #define __NVKM_SUBDEV_H__
44 #include <core/device.h>
....@@ -24,6 +24,8 @@
2424 };
2525
2626 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 **);
2729 void nvkm_subdev_ctor(const struct nvkm_subdev_func *, struct nvkm_device *,
2830 int index, struct nvkm_subdev *);
2931 void nvkm_subdev_del(struct nvkm_subdev **);