kernel/drivers/gpu/drm/amd/display/dc/gpio/hw_ddc.h
.. .. @@ -38,9 +38,12 @@ 38 38 #define HW_DDC_FROM_BASE(hw_gpio) \ 39 39 container_of((HW_GPIO_FROM_BASE(hw_gpio)), struct hw_ddc, base) 40 40 41 -struct hw_gpio_pin *dal_hw_ddc_create(41 +void dal_hw_ddc_init(42 + struct hw_ddc **hw_ddc,42 43 struct dc_context *ctx, 43 44 enum gpio_id id, 44 45 uint32_t en); 45 46 47 +struct hw_gpio_pin *dal_hw_ddc_get_pin(struct gpio *gpio);48 +46 49 #endif