forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/drivers/gpu/drm/amd/display/dc/gpio/hw_ddc.h
....@@ -38,9 +38,12 @@
3838 #define HW_DDC_FROM_BASE(hw_gpio) \
3939 container_of((HW_GPIO_FROM_BASE(hw_gpio)), struct hw_ddc, base)
4040
41
-struct hw_gpio_pin *dal_hw_ddc_create(
41
+void dal_hw_ddc_init(
42
+ struct hw_ddc **hw_ddc,
4243 struct dc_context *ctx,
4344 enum gpio_id id,
4445 uint32_t en);
4546
47
+struct hw_gpio_pin *dal_hw_ddc_get_pin(struct gpio *gpio);
48
+
4649 #endif