sonic-buildimage/platform/broadcom/sonic-platform-modules-accton/as7312-54x/modules
jostar-yang f5cefb164f
[Accton platform] Fix kernel 5.10 build failed in fan drv (#9744)
Why I did it
Old fan drv will be build fail under kernel 5.10. It get below error message.
/sonic/platform/broadcom/sonic-platform-modules-accton/as7312-54xs/modules/accton_as7312_54x_fan.c:483:5: error: implicit declarat ion of function 'set_fs'; did you mean 'sget_fc'? [-Werror=implicit-function-declaration]
set_fs(KERNEL_DS);
^~~~~~
sget_fc

How I did it
These code is old design and they are not needed currently. So remove them.

Signed-off-by: Jostar Yang <jostar_yang@accton.com>
2022-01-22 10:37:51 -08:00
..
accton_as7312_54x_fan.c [Accton platform] Fix kernel 5.10 build failed in fan drv (#9744) 2022-01-22 10:37:51 -08:00
accton_as7312_54x_leds.c [platform-modules]: fix compile issues for platform driver under 4.19 2020-04-17 04:51:51 +00:00
accton_as7312_54x_psu.c [devices]: move platform modules of accton, ingrasys, mitac, quanta into buildimage repo 2018-08-11 09:09:03 +00:00
accton_as7312_54x_sfp.c [devices]: move platform modules of accton, ingrasys, mitac, quanta into buildimage repo 2018-08-11 09:09:03 +00:00
accton_i2c_cpld.c [devices]: move platform modules of accton, ingrasys, mitac, quanta into buildimage repo 2018-08-11 09:09:03 +00:00
Makefile [devices]: move platform modules of accton, ingrasys, mitac, quanta into buildimage repo 2018-08-11 09:09:03 +00:00
ym2651y.c [devices]: move platform modules of accton, ingrasys, mitac, quanta into buildimage repo 2018-08-11 09:09:03 +00:00