Re: [PATCH V2 1/2] i2c: tegra: I2_M_NOSTART functionality not supportedin Tegra20

From: Laxman Dewangan
Date: Mon Aug 20 2012 - 13:29:26 EST


On Monday 20 August 2012 10:45 PM, Stephen Warren wrote:
On 08/18/2012 01:17 PM, Laxman Dewangan wrote:
Tegra20 i2c controller does not support the continue transfer
which implements the I2C_M_NOSTART functionality of i2c
protocol mangling.
Removing the I2C_M_NOSTART functionality support for Tegra20.
Thanks, applied the series to Tegra's for-3.7/drivers-i2c branch.

Note that I had to fix up patch 1 to remove const on the tegra*_i2c_hw
variable declarations to avoid compiler warnings when assigning pointers
into tegra_i2c_of_match[].data.
Thanks for correction but
I did not get this warning and when saw the structure, it is declared as const type only..
struct of_device_id
{
char name[32];
char type[32];
char compatible[128];
#ifdef __KERNEL__
const void *data;
#else
kernel_ulong_t data;
#endif
};


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/