forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
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