diff options
author | Keith Packard <keithp@mandolin.jf.intel.com> | 2006-10-29 01:04:15 -0800 |
---|---|---|
committer | Keith Packard <keithp@mandolin.jf.intel.com> | 2006-10-29 01:04:15 -0800 |
commit | 14233359b6de2164f52667b235c60116a1442486 (patch) | |
tree | 4aa3878236ea40b1a6ce4a1297bdd4456ea83b78 /src/ch7xxx | |
parent | 2631014e9d5b2e64908ea413729eb5fd819b17fc (diff) |
reorder modesetting to try and follow the rulesmodesetting-keithp-fu
Diffstat (limited to 'src/ch7xxx')
-rw-r--r-- | src/ch7xxx/ch7xxx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ch7xxx/ch7xxx.c b/src/ch7xxx/ch7xxx.c index fdc96d0a..d11c3550 100644 --- a/src/ch7xxx/ch7xxx.c +++ b/src/ch7xxx/ch7xxx.c @@ -38,7 +38,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include "ch7xxx.h" #include "ch7xxx_reg.h" -static void ch7xxxSaveRegs(void *d); +static void ch7xxxSaveRegs(I2CDevPtr d); static CARD8 ch7xxxFreqRegs[][7] = { { 0, 0x23, 0x08, 0x16, 0x30, 0x60, 0x00 }, @@ -243,9 +243,9 @@ static void ch7xxxPrintRegs(I2CDevPtr d) } } -static void ch7xxxSaveRegs(void *d) +static void ch7xxxSaveRegs(I2CDevPtr d) { - CH7xxxPtr ch7xxx = CH7PTR(((I2CDevPtr)d)); + CH7xxxPtr ch7xxx = CH7PTR(d); int ret; int i; |