Neil Armstrong
d0a9b82b75
regmap: fix regmap_read_poll_timeout warning about sandbox_timer_add_offset
...
When fixing sandbox test for regmap_read_poll_timeout(), the
sandbox_timer_add_offset was introduced but only defined in sandbox code
thus generating warnings when used out of sandbox :
include/regmap.h:289:2: note: in expansion of macro 'regmap_read_poll_timeout_test'
regmap_read_poll_timeout_test(map, addr, val, cond, sleep_us, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/spi/meson_spifc.c:169:8: note: in expansion of macro 'regmap_read_poll_timeout'
ret = regmap_read_poll_timeout(spifc->regmap, REG_SLAVE, data,
^~~~~~~~~~~~~~~~~~~~~~~~
drivers/spi/meson_spifc.c: In function 'meson_spifc_txrx':
include/regmap.h:277:4: warning: implicit declaration of function 'sandbox_timer_add_offset' [-Wimplicit-function-declaration]
This fix adds a timer_test_add_offset() only defined in sandbox, and
renames the previous sandbox_timer_add_offset() to it.
Cc: Simon Glass <sjg@chromium.org >
Reported-by: Tom Rini <trini@konsulko.com >
Fixes: df9cf1cc08 ("test: dm: regmap: Fix the long test delay")
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com >
Reviewed-by: Simon Glass <sjg@chromium.org >
2019-04-23 11:17:15 +02:00
..
2018-12-10 07:21:21 +01:00
2019-04-10 16:50:46 +02:00
2019-02-19 16:58:24 -05:00
2019-04-09 09:28:50 +03:00
2019-01-09 07:13:32 -05:00
2019-01-17 13:16:49 -08:00
2018-09-20 20:11:01 +05:30
2019-02-07 15:33:21 +05:30
2018-09-19 08:59:26 +02:00
2019-03-11 15:53:19 +09:00
2019-03-11 15:53:19 +09:00
2018-10-07 10:47:38 -04:00
2019-02-09 07:50:53 -05:00
2018-12-08 20:18:44 -05:00
2018-12-14 17:59:08 +01:00
2018-11-27 21:06:53 +05:30
2018-11-20 12:35:25 -05:00
2018-12-20 17:12:25 +01:00
2018-12-13 16:32:49 -07:00
2018-10-07 11:07:26 -04:00
2018-08-11 08:09:39 +02:00
2018-12-07 22:24:33 +05:30
2018-10-09 04:40:27 -06:00
2018-11-14 09:16:27 -08:00
2018-11-26 08:25:32 -05:00
2018-09-29 11:49:35 -06:00
2018-12-10 10:04:44 +01:00
2019-02-13 09:40:06 +01:00
2018-09-23 21:55:29 +02:00
2018-12-31 09:42:41 +08:00
2019-02-13 09:40:05 +01:00
2018-09-29 11:49:35 -06:00
2019-03-22 08:35:50 -04:00
2019-01-15 22:05:34 -05:00
2018-09-10 20:48:16 -04:00
2019-02-13 09:40:05 +01:00
2018-09-23 21:55:29 +02:00
2018-09-23 21:55:29 +02:00
2018-09-25 21:49:18 -04:00
2018-12-18 09:56:26 +08:00
2018-11-20 19:14:22 -07:00
2019-01-30 21:22:53 -05:00
2018-09-29 11:49:35 -06:00
2018-12-07 08:13:45 -05:00
2018-12-07 08:13:45 -05:00
2019-01-31 09:35:01 +01:00
2018-12-07 16:31:45 +01:00
2019-02-18 13:00:54 +01:00
2018-10-09 04:40:27 -06:00
2019-04-07 14:17:06 +02:00
2019-04-07 14:17:06 +02:00
2018-12-02 21:59:37 +01:00
2019-02-13 09:40:05 +01:00
2018-08-10 13:50:15 -04:00
2019-01-24 11:35:28 -06:00
2018-08-17 13:03:59 -04:00
2019-01-24 11:35:28 -06:00
2019-01-17 13:16:31 -08:00
2019-04-09 20:03:30 -04:00
2018-09-23 21:55:30 +02:00
2019-02-11 11:15:34 -05:00
2019-01-15 15:28:54 -05:00
2019-04-09 20:04:03 -04:00
2019-01-26 08:13:56 -05:00
2018-12-06 14:37:19 -08:00
2018-10-22 12:59:02 +02:00
2019-03-03 22:01:04 +05:30
2018-10-29 13:13:05 -07:00
2018-08-28 11:00:18 +02:00
2018-11-26 08:25:37 -05:00
2019-02-20 15:27:09 +08:00
2018-12-06 23:26:32 -05:00
2018-11-29 09:30:05 -07:00
2019-02-09 12:50:22 -07:00
2018-12-05 06:01:35 -07:00
2018-08-20 07:21:29 -04:00
2019-01-01 14:12:18 +01:00
2018-10-22 13:01:27 +02:00
2018-08-06 14:28:23 +02:00
2019-01-01 14:12:18 +01:00
2018-11-14 09:16:27 -08:00
2019-02-09 07:50:58 -05:00
2018-12-05 06:01:35 -07:00
2018-08-10 10:27:32 -04:00
2019-02-02 08:19:17 -05:00
2019-02-20 15:21:44 +08:00
2018-09-11 08:32:55 -04:00
2018-11-29 09:30:05 -07:00
2019-01-31 09:35:01 +01:00
2018-10-24 14:45:36 -05:00
2018-11-20 19:14:22 -07:00
2019-02-16 18:12:17 +01:00
2018-09-18 00:01:18 -06:00
2018-10-02 22:12:32 +05:30
2019-01-24 11:35:30 -06:00
2018-11-05 10:41:56 -06:00
2018-12-05 06:08:35 -07:00
2018-11-20 19:14:22 -07:00
2018-12-10 06:17:30 +01:00
2018-10-09 04:40:27 -06:00
2018-10-09 04:40:27 -06:00
2019-02-01 09:14:21 -05:00
2019-02-20 15:27:08 +08:00
2019-02-20 15:25:28 +08:00
2019-03-22 12:15:20 -04:00
2018-10-10 12:28:55 -05:00
2019-01-24 11:35:26 -06:00
2018-09-11 08:32:55 -04:00
2019-04-23 11:17:15 +02:00
2018-09-11 08:32:55 -04:00
2018-09-11 08:32:55 -04:00
2019-01-18 22:19:09 +05:30
2018-12-05 06:06:44 -07:00
2018-10-07 11:04:01 -04:00
2019-01-14 17:47:13 -07:00
2019-02-20 15:27:08 +08:00
2019-03-25 17:36:59 -04:00
2018-09-20 20:10:49 +05:30
2018-11-27 21:06:53 +05:30
2019-02-01 16:59:12 +01:00
2019-02-19 08:55:43 -05:00
2018-10-09 04:40:27 -06:00
2018-12-07 16:31:45 +01:00
2018-10-09 04:40:27 -06:00
2018-12-15 11:49:19 -05:00
2019-04-23 11:17:15 +02:00
2018-12-05 06:01:34 -07:00
2018-11-29 09:30:06 -07:00
2018-12-05 06:01:34 -07:00
2018-12-10 06:17:30 +01:00
2018-12-10 06:17:30 +01:00
2018-09-28 20:22:32 -04:00
2018-10-10 12:28:52 -05:00
2018-11-26 21:19:03 +01:00
2018-09-28 18:25:39 +02:00
2018-09-28 18:26:32 +02:00
2018-12-03 19:09:44 +01:00
2018-11-14 09:16:27 -08:00
2018-11-14 09:16:27 -08:00
2018-11-14 09:16:27 -08:00
2018-12-31 08:08:51 -05:00
2018-09-28 20:22:35 -04:00
2018-11-16 16:51:55 -05:00
2019-04-09 09:28:50 +03:00