* [PATCH] Input: ad714x - restore struct ad714x_chip status interrupt result placement
@ 2011-08-22 11:44 michael.hennerich
0 siblings, 0 replies; only message in thread
From: michael.hennerich @ 2011-08-22 11:44 UTC (permalink / raw)
To: dmitry.torokhov
Cc: linux-input, device-drivers-devel, drivers, Michael Hennerich
From: Michael Hennerich <michael.hennerich@analog.com>
This patch needs to go on top of Dmitry's reworked patch set.
Since we read status interrupt registers in row, we also need to place the
storage members sequentially. This part got dropped from the original patch set.
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
---
drivers/input/misc/ad714x.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/input/misc/ad714x.h b/drivers/input/misc/ad714x.h
index 6edc080..3c85455 100644
--- a/drivers/input/misc/ad714x.h
+++ b/drivers/input/misc/ad714x.h
@@ -22,8 +22,8 @@ typedef int (*ad714x_read_t)(struct ad714x_chip *, unsigned short, unsigned shor
typedef int (*ad714x_write_t)(struct ad714x_chip *, unsigned short, unsigned short);
struct ad714x_chip {
- unsigned short h_state;
unsigned short l_state;
+ unsigned short h_state;
unsigned short c_state;
unsigned short adc_reg[STAGE_NUM];
unsigned short amb_reg[STAGE_NUM];
--
1.7.0.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-08-22 11:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-22 11:44 [PATCH] Input: ad714x - restore struct ad714x_chip status interrupt result placement michael.hennerich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).