diff options
author | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-11-12 17:36:08 +0000 |
---|---|---|
committer | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-11-12 17:36:08 +0000 |
commit | b0f74c87a1dbd6b0c5e4de7f1c5cb40197e3fbe9 (patch) | |
tree | 91fe628b61c16ec0931fa7f7877aeff2d5768986 /hw/wm8750.c | |
parent | c89068455d8ce6a169c9e3e0f5c94d2658933fda (diff) |
Don't use "hz" in identifiers to make AIX happy.
malc found AIX headers leak "hz" and so it can't be used there. Change
the occurences in hw/.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5709 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/wm8750.c')
-rw-r--r-- | hw/wm8750.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/wm8750.c b/hw/wm8750.c index b175167ad6..e35492408c 100644 --- a/hw/wm8750.c +++ b/hw/wm8750.c @@ -723,11 +723,11 @@ uint32_t wm8750_adc_dat(void *opaque) return *data; } -void wm8750_set_bclk_in(void *opaque, int hz) +void wm8750_set_bclk_in(void *opaque, int new_hz) { struct wm8750_s *s = (struct wm8750_s *) opaque; - s->ext_adc_hz = hz; - s->ext_dac_hz = hz; + s->ext_adc_hz = new_hz; + s->ext_dac_hz = new_hz; wm8750_clk_update(s, 1); } |