Update of /cvsroot/alsa/alsa-kernel/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20010/include
Modified Files: initval.h Log Message: use the new module_param*() functions. Index: initval.h =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/include/initval.h,v retrieving revision 1.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- initval.h 29 Dec 2003 08:43:35 -0000 1.19 +++ initval.h 7 Apr 2004 17:48:13 -0000 1.20 @@ -133,44 +133,4 @@ } #endif -#if defined(SNDRV_GET_ID) && !defined(MODULE) -#include <linux/ctype.h> -#include <linux/init.h> -#include <linux/bootmem.h> -static int __init get_id(char **str, char **dst) -{ - char *s; - - if (!(*str) || !(**str)) - return 0; - for (s = *str; isalpha(*s) || isdigit(*s) || *s == '_'; s++); - if (s != *str) { - int len = s - *str; - char *d = (char *)alloc_bootmem(len + 1); - if (d != NULL) { - memcpy(*dst = d, *str, len); - d[len] = '\0'; - } - } - if (*s == ',') { - *str = s + 1; - return 2; - } - *str = s; - return 1; -} -#endif - -/* simple wrapper for long variable. - * the value more than 32bit won't work! - */ -inline static int get_option_long(char **str, long *valp) -{ - int val, ret; - ret = get_option(str, &val); - if (ret) - *valp = val; - return ret; -} - #endif /* __SOUND_INITVAL_H */ ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Alsa-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-cvslog