| .. | .. |
|---|
| 27 | 27 | #include "include/gpio_types.h" |
|---|
| 28 | 28 | #include "../hw_factory.h" |
|---|
| 29 | 29 | |
|---|
| 30 | | - |
|---|
| 31 | 30 | #include "../hw_gpio.h" |
|---|
| 32 | 31 | #include "../hw_ddc.h" |
|---|
| 33 | 32 | #include "../hw_hpd.h" |
|---|
| 33 | +#include "../hw_generic.h" |
|---|
| 34 | 34 | |
|---|
| 35 | 35 | #include "hw_factory_dce120.h" |
|---|
| 36 | 36 | |
|---|
| .. | .. |
|---|
| 162 | 162 | } |
|---|
| 163 | 163 | |
|---|
| 164 | 164 | |
|---|
| 165 | | -/* fucntion table */ |
|---|
| 165 | +/* function table */ |
|---|
| 166 | 166 | static const struct hw_factory_funcs funcs = { |
|---|
| 167 | | - .create_ddc_data = dal_hw_ddc_create, |
|---|
| 168 | | - .create_ddc_clock = dal_hw_ddc_create, |
|---|
| 169 | | - .create_generic = NULL, |
|---|
| 170 | | - .create_hpd = dal_hw_hpd_create, |
|---|
| 171 | | - .create_sync = NULL, |
|---|
| 172 | | - .create_gsl = NULL, |
|---|
| 167 | + .init_ddc_data = dal_hw_ddc_init, |
|---|
| 168 | + .init_generic = NULL, |
|---|
| 169 | + .init_hpd = dal_hw_hpd_init, |
|---|
| 170 | + .get_ddc_pin = dal_hw_ddc_get_pin, |
|---|
| 171 | + .get_hpd_pin = dal_hw_hpd_get_pin, |
|---|
| 172 | + .get_generic_pin = NULL, |
|---|
| 173 | 173 | .define_hpd_registers = define_hpd_registers, |
|---|
| 174 | 174 | .define_ddc_registers = define_ddc_registers |
|---|
| 175 | 175 | }; |
|---|