Logo Search packages:      
Sourcecode: alsa-driver version File versions  Download package

cs8427.c

#include "adriver.h"

/* hack: define bitrev8() even without CONFIG_BITREVERSE */
#ifndef CONFIG_BITREVERSE
#include <linux/bitrev.h>
static unsigned char bitrev8(unsigned char val)
{
      int bit;
      unsigned char res = 0;
      for (bit = 0; bit < 8; bit++) {
            res <<= 1;
            res |= val & 1;
            val >>= 1;
      }
      return res;
}
#endif

#include "../alsa-kernel/i2c/cs8427.c"

Generated by  Doxygen 1.6.0   Back to index