Arnd Bergmann
4852fdca88
media: i2c: ov7740: use gpio/consumer.h instead of gpio.h
...
When built on a platform without gpiolib support, we run into
a couple of compile errors in ov7740, including:
drivers/media/i2c/ov7740.c: In function 'ov7740_set_power':
drivers/media/i2c/ov7740.c:307:4: error: implicit declaration of function 'gpiod_direction_output'; did you mean 'gpio_direction_output'? [-Werror=implicit-function-declaration]
gpiod_direction_output(ov7740->pwdn_gpio, 0);
drivers/media/i2c/ov7740.c:914:4: error: 'GPIOD_OUT_HIGH' undeclared (first use in this function); did you mean 'GPIOF_INIT_HIGH'?
Changing it to use the correct header file solves the problem.
Fixes: 39c5c4471b ("media: i2c: Add the ov7740 image sensor driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de >
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com >
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com >
2018-01-23 08:13:02 -05:00
..
2017-12-08 11:27:46 -05:00
2018-01-04 13:15:05 -05:00
2017-11-30 04:42:19 -05:00
2017-11-30 04:18:55 -05:00
2017-08-20 08:20:20 -04:00
2018-01-04 13:12:01 -05:00
2017-11-15 20:30:12 -08:00
2017-06-08 12:34:17 -03:00
2017-08-26 08:42:12 -04:00
2017-01-27 11:38:09 -02:00
2017-01-30 15:47:05 -02:00
2017-01-27 11:38:09 -02:00
2017-12-08 10:12:45 -05:00
2017-02-27 18:43:46 -08:00
2017-01-27 11:38:09 -02:00
2018-01-04 13:12:01 -05:00
2018-01-04 13:12:01 -05:00
2017-08-26 08:42:28 -04:00
2017-12-08 10:39:17 -05:00
2017-09-23 08:20:57 -04:00
2017-02-03 09:33:55 -02:00
2017-01-27 11:38:09 -02:00
2017-01-27 11:38:09 -02:00
2017-01-27 11:38:09 -02:00
2017-01-27 11:38:09 -02:00
2016-12-24 11:46:01 -08:00
2017-01-27 11:38:09 -02:00
2016-09-06 16:21:24 -03:00
2017-01-27 11:38:09 -02:00
2018-01-23 08:04:51 -05:00
2018-01-05 12:47:07 -05:00
2017-12-14 09:58:20 -05:00
2018-01-05 12:49:51 -05:00
2018-01-04 13:15:05 -05:00
2017-01-27 11:38:09 -02:00
2017-11-30 04:19:03 -05:00
2016-01-11 12:19:03 -02:00
2017-01-27 11:38:09 -02:00
2018-01-05 12:49:51 -05:00
2017-10-31 12:08:13 -04:00
2017-06-20 07:02:43 -03:00
2017-02-03 09:34:43 -02:00
2017-01-27 11:38:09 -02:00
2017-11-02 11:10:55 +01:00
2017-05-19 07:10:03 -03:00
2017-01-27 11:38:09 -02:00
2018-01-23 08:12:01 -05:00
2017-02-03 09:23:19 -02:00
2017-08-20 08:32:00 -04:00
2017-12-11 07:43:36 -05:00
2017-12-08 09:24:01 -05:00
2017-02-03 09:23:19 -02:00
2018-01-23 08:12:01 -05:00
2018-01-23 08:12:01 -05:00
2018-01-23 08:10:31 -05:00
2017-07-19 15:52:00 -04:00
2017-11-30 04:19:03 -05:00
2017-10-31 14:06:45 -04:00
2017-10-04 17:15:22 -03:00
2017-01-27 11:38:09 -02:00
2018-01-23 08:12:01 -05:00
2018-01-23 08:13:02 -05:00
2017-12-11 13:04:55 -05:00
2017-10-31 14:07:19 -04:00
2016-09-06 16:21:24 -03:00
2017-08-20 08:20:20 -04:00
2017-11-30 04:18:57 -05:00
2017-11-30 04:18:58 -05:00
2017-12-11 07:43:36 -05:00
2018-01-04 13:15:05 -05:00
2016-12-24 11:46:01 -08:00
2018-01-04 13:15:05 -05:00
2017-01-27 11:38:09 -02:00
2018-01-04 13:15:05 -05:00
2018-01-04 13:15:05 -05:00
2017-01-27 11:38:09 -02:00
2016-10-21 15:15:06 -02:00
2014-12-23 11:29:01 -02:00
2017-01-27 11:38:09 -02:00
2015-11-17 06:57:11 -02:00
2017-09-23 07:57:59 -04:00
2017-10-31 06:39:24 -04:00
2017-12-18 11:52:24 -05:00
2015-08-11 13:00:15 -03:00
2015-08-11 13:00:15 -03:00
2017-11-02 11:10:55 +01:00
2015-08-11 13:00:15 -03:00
2017-11-02 11:10:55 +01:00
2018-01-04 13:15:05 -05:00
2017-08-26 08:43:40 -04:00
2017-01-27 11:38:09 -02:00
2018-01-04 13:15:05 -05:00
2017-01-27 11:38:09 -02:00
2018-01-23 08:12:01 -05:00
2018-01-04 13:12:01 -05:00
2017-12-11 07:43:36 -05:00
2018-01-04 13:15:05 -05:00
2017-06-06 09:58:16 -03:00
2017-01-27 11:38:09 -02:00
2017-01-27 11:38:09 -02:00
2017-01-27 11:38:09 -02:00
2017-01-27 11:38:09 -02:00
2017-01-27 11:38:09 -02:00
2017-01-27 11:38:09 -02:00
2017-01-27 11:38:09 -02:00
2018-01-04 13:15:05 -05:00
2017-01-27 11:38:09 -02:00
2017-08-09 11:19:20 -04:00
2017-01-27 11:38:09 -02:00
2017-01-27 11:38:09 -02:00