Changeset 109 for GPL/branches


Ignore:
Timestamp:
May 21, 2007, 6:22:41 AM (18 years ago)
Author:
Brendan Oakley
Message:

Provide missing prototypes to fix compile warnings

Location:
GPL/branches/alsa-resync1/alsa-kernel
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • GPL/branches/alsa-resync1/alsa-kernel/core/pcm_native.c

    r105 r109  
    3131#include <sound/pcm.h>
    3232#include <sound/pcm_params.h>
     33#include <sound/timer.h>
    3334#include <sound/minors.h>
    3435
  • GPL/branches/alsa-resync1/alsa-kernel/include/sound/control.h

    r106 r109  
    3434typedef struct sndrv_ctl_event snd_ctl_event_t;
    3535
     36#define _snd_kcontrol_chip(kcontrol) ((kcontrol)->private_data)
    3637#define snd_kcontrol_chip(kcontrol) ((kcontrol)->private_data)
    3738struct snd_kcontrol;
  • GPL/branches/alsa-resync1/alsa-kernel/include/sound/core.h

    r108 r109  
    273273#define kstrdup(s, flags)  snd_hidden_kstrdup(s, flags)
    274274
     275void *snd_kcalloc(size_t size, int flags);
    275276char *snd_kmalloc_strdup(const char *string, int flags);
     277void *snd_malloc_pages(unsigned long size, unsigned int dma_flags);
     278void *snd_malloc_pages_fallback(unsigned long size, unsigned int dma_flags, unsigned long *res_size);
    276279int copy_to_user_fromio(void __user *dst, const volatile void __iomem *src, size_t count);
    277280int copy_from_user_toio(volatile void __iomem *dst, const void __user *src, size_t count);
  • GPL/branches/alsa-resync1/alsa-kernel/include/sound/driver.h

    r108 r109  
    5454#include <linux/malloc.h>
    5555#include <linux/mm.h> /* poll, pagemap, or vmalloc? */
     56#include <linux/fs.h>
    5657#endif /* TARGET_OS2 */
    5758
Note: See TracChangeset for help on using the changeset viewer.