diff options
author | Chaitanya Bandi <bandik@nvidia.com> | 2012-10-05 15:21:02 +0530 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2013-09-14 12:47:56 -0700 |
commit | ac76be080bebe0517a8b5db9f895031e7d3dc403 (patch) | |
tree | c1cbd1f4d5822c14ee03df35aefefff129da3190 | |
parent | 5283856cb5005886a300f3becc0d391845044048 (diff) |
mipi_bif: Add device_id for mipi_bif
Bug 1022139
Change-Id: I06c0f628533cbad299914a5784249b4c2a654582
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/172607
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
-rw-r--r-- | include/linux/mod_devicetable.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h index b508016fb76d..f99846ebe741 100644 --- a/include/linux/mod_devicetable.h +++ b/include/linux/mod_devicetable.h @@ -421,6 +421,17 @@ struct i2c_device_id { kernel_ulong_t driver_data; /* Data private to the driver */ }; +/* mipi_bif */ + +#define MIPI_BIF_NAME_SIZE 20 +#define MIPI_BIF_MODULE_PREFIX "mipi_bif:" + +struct mipi_bif_device_id { + char name[MIPI_BIF_NAME_SIZE]; + kernel_ulong_t driver_data /* Data private to the driver */ + __attribute__((aligned(sizeof(kernel_ulong_t)))); +}; + /* spi */ #define SPI_NAME_SIZE 32 |