kernel/drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.h
.. .. @@ -38,9 +38,12 @@ 38 38 #define HW_HPD_FROM_BASE(hw_gpio) \ 39 39 container_of((HW_GPIO_FROM_BASE(hw_gpio)), struct hw_hpd, base) 40 40 41 -struct hw_gpio_pin *dal_hw_hpd_create(41 +void dal_hw_hpd_init(42 + struct hw_hpd **hw_hpd,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_hpd_get_pin(struct gpio *gpio);48 +46 49 #endif