diff options
author | Gary Fitzer <gfitzer@nvidia.com> | 2013-04-29 08:14:09 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2013-09-14 13:13:51 -0700 |
commit | 73cbdfa85180deb17485b5edd54aca6b6898d8ee (patch) | |
tree | 97d1010b94270fd409d081c601f46bd287935ab7 /include/media/ad5816.h | |
parent | 175d11af025295eafb6bc8ec2381dd20abdafc4a (diff) |
video: tegra: ad5816: enable auto-detect support
Bug 1250073
Change-Id: I1c30757d0570e9e4d51f3326d2c0fe233f8cf046
Signed-off-by: Gary Fitzer <gfitzer@nvidia.com>
Signed-off-by: David Schalig <dschalig@nvidia.com>
Reviewed-on: http://git-master/r/223895
(cherry picked from commit c3a21f51fc6c5a9935f8e52aa3149ddb0de66ac6)
Reviewed-on: http://git-master/r/228255
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'include/media/ad5816.h')
-rw-r--r-- | include/media/ad5816.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/media/ad5816.h b/include/media/ad5816.h index 30baa5f46c4b..f549a7bd24d2 100644 --- a/include/media/ad5816.h +++ b/include/media/ad5816.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2011-2012 NVIDIA Corporation. + * Copyright (c) 2011-2013 NVIDIA Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as @@ -19,6 +19,7 @@ #ifndef __AD5816_H__ #define __AD5816_H__ +#include <linux/miscdevice.h> #include <media/nvc_focus.h> #include <media/nvc.h> @@ -39,6 +40,7 @@ struct ad5816_platform_data { struct nvc_gpio_pdata *gpio; int (*power_on)(struct ad5816_power_rail *pw); int (*power_off)(struct ad5816_power_rail *pw); + int (*detect)(void *buf, size_t size); }; struct ad5816_pdata_info { |