aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k/mac/macboing.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m68k/mac/macboing.c')
-rw-r--r--arch/m68k/mac/macboing.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/m68k/mac/macboing.c b/arch/m68k/mac/macboing.c
index 8f0640847ad2..ffaa1f6439ae 100644
--- a/arch/m68k/mac/macboing.c
+++ b/arch/m68k/mac/macboing.c
@@ -114,7 +114,8 @@ static void mac_init_asc( void )
114 * 16-bit I/O functionality. The PowerBook 500 series computers 114 * 16-bit I/O functionality. The PowerBook 500 series computers
115 * support 16-bit stereo output, but only mono input." 115 * support 16-bit stereo output, but only mono input."
116 * 116 *
117 * http://til.info.apple.com/techinfo.nsf/artnum/n16405 117 * Technical Information Library (TIL) article number 16405.
118 * http://support.apple.com/kb/TA32601
118 * 119 *
119 * --David Kilzer 120 * --David Kilzer
120 */ 121 */
@@ -162,7 +163,7 @@ static void mac_init_asc( void )
162void mac_mksound( unsigned int freq, unsigned int length ) 163void mac_mksound( unsigned int freq, unsigned int length )
163{ 164{
164 __u32 cfreq = ( freq << 5 ) / 468; 165 __u32 cfreq = ( freq << 5 ) / 468;
165 __u32 flags; 166 unsigned long flags;
166 int i; 167 int i;
167 168
168 if ( mac_special_bell == NULL ) 169 if ( mac_special_bell == NULL )
@@ -224,7 +225,7 @@ static void mac_nosound( unsigned long ignored )
224 */ 225 */
225static void mac_quadra_start_bell( unsigned int freq, unsigned int length, unsigned int volume ) 226static void mac_quadra_start_bell( unsigned int freq, unsigned int length, unsigned int volume )
226{ 227{
227 __u32 flags; 228 unsigned long flags;
228 229
229 /* if the bell is already ringing, ring longer */ 230 /* if the bell is already ringing, ring longer */
230 if ( mac_bell_duration > 0 ) 231 if ( mac_bell_duration > 0 )
@@ -271,7 +272,7 @@ static void mac_quadra_start_bell( unsigned int freq, unsigned int length, unsig
271static void mac_quadra_ring_bell( unsigned long ignored ) 272static void mac_quadra_ring_bell( unsigned long ignored )
272{ 273{
273 int i, count = mac_asc_samplespersec / HZ; 274 int i, count = mac_asc_samplespersec / HZ;
274 __u32 flags; 275 unsigned long flags;
275 276
276 /* 277 /*
277 * we neither want a sound buffer overflow nor underflow, so we need to match 278 * we neither want a sound buffer overflow nor underflow, so we need to match