summaryrefslogtreecommitdiff
path: root/drivers/media/usb/cx231xx/cx231xx-pcb-cfg.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2014-07-27 16:27:32 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-07-27 16:57:43 -0300
commit52841e5e145afdf5cc070863c383f41db8472575 (patch)
tree81f7791da8100f9fb2d517febfaa6fe8e79e067c /drivers/media/usb/cx231xx/cx231xx-pcb-cfg.h
parent4d2a7d3509f52106c50007c1dc0b8d79e8040128 (diff)
downloadlwn-52841e5e145afdf5cc070863c383f41db8472575.tar.gz
lwn-52841e5e145afdf5cc070863c383f41db8472575.zip
[media] cx231xx: return an error if it can't read PCB config
Instead of using some random value, return an error if the PCB config is not available or doesn't match a know profile Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/usb/cx231xx/cx231xx-pcb-cfg.h')
-rw-r--r--drivers/media/usb/cx231xx/cx231xx-pcb-cfg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/cx231xx/cx231xx-pcb-cfg.h b/drivers/media/usb/cx231xx/cx231xx-pcb-cfg.h
index b3c6190e0c69..4511dc5d199c 100644
--- a/drivers/media/usb/cx231xx/cx231xx-pcb-cfg.h
+++ b/drivers/media/usb/cx231xx/cx231xx-pcb-cfg.h
@@ -221,6 +221,6 @@ enum INDEX_PCB_CONFIG{
/***************************************************************************/
struct cx231xx;
-u32 initialize_cx231xx(struct cx231xx *p_dev);
+int initialize_cx231xx(struct cx231xx *p_dev);
#endif