media: frontends: fix ops get_algo()'s return type
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
Tue, 24 Apr 2018 13:19:18 +0000 (09:19 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Sat, 5 May 2018 14:11:35 +0000 (10:11 -0400)
commit8d718e5376c602dfd41b599dcc2a7b1be07c7b6b
tree2dc0c19aa2e0db2841f78b777a690e1eb16c345b
parent530d47388496a1d086fd481dbf8fcada6add3be8
media: frontends: fix ops get_algo()'s return type

The method dvb_frontend_ops::get_frontend_algo() is defined as
returning an 'enum dvbfe_algo', but the implementation in this
driver returns an 'int'.

Fix this by returning 'enum dvbfe_algo' on drivers.

[mchehab+samsung@kernel.org: merge similar patches and patch
 ddbridge-mci.c the same way]
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/dvb-frontends/cx24116.c
drivers/media/dvb-frontends/cx24117.c
drivers/media/dvb-frontends/cx24120.c
drivers/media/dvb-frontends/cx24123.c
drivers/media/dvb-frontends/cxd2820r_core.c
drivers/media/dvb-frontends/mb86a20s.c
drivers/media/dvb-frontends/mxl5xx.c
drivers/media/dvb-frontends/s921.c
drivers/media/dvb-frontends/stv0910.c
drivers/media/pci/bt8xx/dst.c
drivers/media/pci/ddbridge/ddbridge-mci.c