[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <fnf084$ju9$1@ger.gmane.org>
Date: Sat, 26 Jan 2008 09:58:28 +0000 (UTC)
From: Dmitry Baryshkov <dbaryshkov@...il.com>
To: linux-kernel@...r.kernel.org
Cc: linux-input@...r.kernel.org
Subject: Re: [PATCH 1/6] Core driver for WM97xx touchscreens
Hi,
Mark Brown wrote:
> +#ifdef CONFIG_PM
> +int wm97xx_resume(struct device *dev)
> +{
> + struct wm97xx *wm = dev_get_drvdata(dev);
> +
> + /* restore digitiser and gpios */
> + if (wm->id == WM9713_ID2) {
> + wm97xx_reg_write(wm, AC97_WM9713_DIG1, wm->dig[0]);
> + wm97xx_reg_write(wm, 0x5a, wm->misc);
> + if (wm->ts_use_count) {
> + u16 reg;
> + reg = wm97xx_reg_read(wm, AC97_EXTENDED_MID) & 0x7fff;
> + wm97xx_reg_write(wm, AC97_EXTENDED_MID, reg);
> + }
> + }
Won't compile as there is no ts_use_count in struct wm97xx.
--
With best wishes
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists