Re: [PATCH] Input: ad7879 - Convert I2C to dev_pm_ops

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Mark,

On Wed, Jan 05, 2011 at 07:01:35PM +0000, Mark Brown wrote:
> +# define ad7879_i2c_pm NULL
>  #endif
>  
>  /* All registers are word-sized.
> @@ -117,11 +121,10 @@ static struct i2c_driver ad7879_i2c_driver = {
>  	.driver = {
>  		.name	= "ad7879",
>  		.owner	= THIS_MODULE,
> +		.pm	= &ad7879_i2c_pm,

I do not think you tested it with !CONFIG_PM since &NULL is not valid
expression (& requires an lvalue for operand).

Please change to guard .pm = &ad7879_i2c_pm with #ifdef.

Thanks.

-- 
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux