@@ -86,11 +86,11 @@ struct nvkm_ior_func {
8686 void (* watermark )(struct nvkm_ior * , int head , u8 watermark );
8787 } * dp ;
8888
89- struct {
89+ const struct nvkm_ior_func_hda {
9090 void (* hpd )(struct nvkm_ior * , int head , bool present );
9191 void (* eld )(struct nvkm_ior * , int head , u8 * data , u8 size );
9292 void (* device_entry )(struct nvkm_ior * , int head );
93- } hda ;
93+ } * hda ;
9494};
9595
9696int nvkm_ior_new_ (const struct nvkm_ior_func * func , struct nvkm_disp * ,
@@ -139,8 +139,7 @@ void g94_sor_dp_watermark(struct nvkm_ior *, int, u8);
139139
140140void gt215_sor_hdmi_ctrl (struct nvkm_ior * , int , bool , u8 , u8 , u8 * , u8 , u8 * , u8 );
141141void gt215_sor_dp_audio (struct nvkm_ior * , int , bool );
142- void gt215_sor_hda_hpd (struct nvkm_ior * , int , bool );
143- void gt215_sor_hda_eld (struct nvkm_ior * , int , u8 * , u8 );
142+ extern const struct nvkm_ior_func_hda gt215_sor_hda ;
144143
145144int gf119_sor_cnt (struct nvkm_disp * , unsigned long * );
146145void gf119_sor_state (struct nvkm_ior * , struct nvkm_ior_state * );
@@ -152,9 +151,9 @@ void gf119_sor_dp_vcpi(struct nvkm_ior *, int, u8, u8, u16, u16);
152151void gf119_sor_dp_audio (struct nvkm_ior * , int , bool );
153152void gf119_sor_dp_audio_sym (struct nvkm_ior * , int , u16 , u32 );
154153void gf119_sor_dp_watermark (struct nvkm_ior * , int , u8 );
154+ extern const struct nvkm_ior_func_hda gf119_sor_hda ;
155155void gf119_sor_hda_hpd (struct nvkm_ior * , int , bool );
156156void gf119_sor_hda_eld (struct nvkm_ior * , int , u8 * , u8 );
157- void gf119_sor_hda_device_entry (struct nvkm_ior * , int );
158157
159158int gk104_sor_new (struct nvkm_disp * , int );
160159void gk104_sor_hdmi_ctrl (struct nvkm_ior * , int , bool , u8 , u8 , u8 * , u8 , u8 * , u8 );
@@ -175,7 +174,7 @@ void gv100_sor_hdmi_ctrl(struct nvkm_ior *, int, bool, u8, u8, u8 *, u8 , u8 *,
175174void gv100_sor_dp_audio (struct nvkm_ior * , int , bool );
176175void gv100_sor_dp_audio_sym (struct nvkm_ior * , int , u16 , u32 );
177176void gv100_sor_dp_watermark (struct nvkm_ior * , int , u8 );
178- void gv100_sor_hda_device_entry ( struct nvkm_ior * , int ) ;
177+ extern const struct nvkm_ior_func_hda gv100_sor_hda ;
179178
180179void tu102_sor_dp_vcpi (struct nvkm_ior * , int , u8 , u8 , u16 , u16 );
181180
0 commit comments