ARM: shmobile: r8a7791: add R-Car sound support on DTSI
[deliverable/linux.git] / drivers / watchdog / sunxi_wdt.c
index cd00a7836cdc1450ad78a6ecacf35be1048bb4c4..693b9d2c6e39e0606524675bcf16d20ebfba876b 100644 (file)
@@ -57,17 +57,17 @@ struct sunxi_wdt_dev {
  */
 
 static const int wdt_timeout_map[] = {
-       [1] = 0b0001,  /* 1s  */
-       [2] = 0b0010,  /* 2s  */
-       [3] = 0b0011,  /* 3s  */
-       [4] = 0b0100,  /* 4s  */
-       [5] = 0b0101,  /* 5s  */
-       [6] = 0b0110,  /* 6s  */
-       [8] = 0b0111,  /* 8s  */
-       [10] = 0b1000, /* 10s */
-       [12] = 0b1001, /* 12s */
-       [14] = 0b1010, /* 14s */
-       [16] = 0b1011, /* 16s */
+       [1] = 0x1,  /* 1s  */
+       [2] = 0x2,  /* 2s  */
+       [3] = 0x3,  /* 3s  */
+       [4] = 0x4,  /* 4s  */
+       [5] = 0x5,  /* 5s  */
+       [6] = 0x6,  /* 6s  */
+       [8] = 0x7,  /* 8s  */
+       [10] = 0x8, /* 10s */
+       [12] = 0x9, /* 12s */
+       [14] = 0xA, /* 14s */
+       [16] = 0xB, /* 16s */
 };
 
 static int sunxi_wdt_ping(struct watchdog_device *wdt_dev)
This page took 0.028384 seconds and 5 git commands to generate.