[hdsp] Fix for 64bit architectures

Fixed the loading of firmware data and the handling of meter mmap
on 64bit architectures.
This commit is contained in:
Takashi Iwai 2004-09-21 10:37:17 +00:00
parent 6ed5c58dce
commit 9db1403b3a

View file

@ -76,7 +76,7 @@ struct _snd_hdsp_config_info {
typedef struct _snd_hdsp_firmware hdsp_firmware_t;
struct _snd_hdsp_firmware {
unsigned long *firmware_data; /* 24413 long words */
void *firmware_data; /* 24413 x 4 bytes */
};
#define SNDRV_HDSP_IOCTL_UPLOAD_FIRMWARE _IOW('H', 0x42, hdsp_firmware_t)