summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2013-05-08 16:23:41 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-05-21 07:58:04 -0300
commitab6717886b6af7c1408602948653c63408c46f5e (patch)
tree441eff851b9503395d339fe7302ce59961620aca /drivers/media
parent96f83b3f270aff148a1fa55f9a464e1bbadeadd4 (diff)
downloadop-kernel-dev-ab6717886b6af7c1408602948653c63408c46f5e.zip
op-kernel-dev-ab6717886b6af7c1408602948653c63408c46f5e.tar.gz
[media] v4l2: SI476X MFD - Do not use binary constants
Gcc < 4.3 doesn't understand binary constanrs (0b*): drivers/media/radio/radio-si476x.c:862:20: error: invalid suffix "b10000000" on integer constant Hence use a hexadecimal constant (0x*) instead. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/radio/radio-si476x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/radio/radio-si476x.c b/drivers/media/radio/radio-si476x.c
index 9430c6a..9dc8baf 100644
--- a/drivers/media/radio/radio-si476x.c
+++ b/drivers/media/radio/radio-si476x.c
@@ -44,7 +44,7 @@
#define FREQ_MUL (10000000 / 625)
-#define SI476X_PHDIV_STATUS_LINK_LOCKED(status) (0b10000000 & (status))
+#define SI476X_PHDIV_STATUS_LINK_LOCKED(status) (0x80 & (status))
#define DRIVER_NAME "si476x-radio"
#define DRIVER_CARD "SI476x AM/FM Receiver"
OpenPOWER on IntegriCloud