sonic-buildimage/platform/broadcom/sonic-platform-modules-accton/as4630-54pe
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
..
classes Update Accton platform module for Bullseye and 5.10 kernel 2021-11-10 15:27:22 -08:00
modules [Accton platform] Fix kernel 5.10 build failed in fan drv (#9744) 2022-01-22 10:37:51 -08:00
service [as7326-54x] Remove not need executable flag (#6326) 2021-01-12 10:40:51 -08:00
utils Update Accton platform module for Bullseye and 5.10 kernel 2021-11-10 15:27:22 -08:00
setup.py [devices]: Add to support as4630-54pe platform (#2895) 2019-05-18 22:11:38 -07:00