diff options
author | Eric Anholt <eric@anholt.net> | 2006-12-18 13:32:21 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2006-12-18 13:32:21 -0800 |
commit | 31849edb3b503ade659981dfa36babf5ad8757c5 (patch) | |
tree | a3ad8fc566323233bb4c650c67bb7a0789cf7ea5 /src/ch7xxx/ch7xxx_reg.h | |
parent | 2d0ca2202cb0d780bb4387bbe04e5caa6512e3b1 (diff) |
Move the ch7xxx code to the style I've been settling on for output code.
Diffstat (limited to 'src/ch7xxx/ch7xxx_reg.h')
-rw-r--r-- | src/ch7xxx/ch7xxx_reg.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/ch7xxx/ch7xxx_reg.h b/src/ch7xxx/ch7xxx_reg.h index e24e9a6b..891fde8b 100644 --- a/src/ch7xxx/ch7xxx_reg.h +++ b/src/ch7xxx/ch7xxx_reg.h @@ -39,18 +39,6 @@ USE OR OTHER DEALINGS IN THE SOFTWARE. #define CH7xxx_NUM_REGS 0x4c -typedef struct _CH7xxxSaveRec { - CARD8 regs[CH7xxx_NUM_REGS]; -} CH7xxxSaveRec; - -typedef struct { - I2CDevRec d; - CH7xxxSaveRec SavedReg; - CH7xxxSaveRec ModeReg; -} CH7xxxRec, *CH7xxxPtr; - -#define CH7PTR(d) ((CH7xxxPtr)(d->DriverPrivate.ptr)) - #define CH7xxx_CM 0x1C #define CH7xxx_CM_XCM (1<<0) #define CH7xxx_CM_MCP (1<<2) |