lkml.org 
[lkml]   [1996]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Oh dear, I meant _this_ patch to mouse.c
Date
> +static struct {
> + int minor;
> + char *module;
> +} mice[] = {
> + { BUSMOUSE_MINOR, "busmouse" },
> + { PSMOUSE_MINOR, "psaux" },
> + { MS_BUSMOUSE_MINOR, "msbusmouse" },
> + { ATIXL_BUSMOUSE_MINOR, "atixlmouse" },
> + { WATCHDOG_MINOR, "wdt" },
> + { TEMP_MINOR, "wdt" },
> + {-1, NULL} /* end of list */
> +};
> +

Yeuch Yeuch no no no no etc. Pass the minor number. There could be 256
things in that table [which also ought to be #ifdef'd out for no kerneld].

Alan


\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.028 / U:0.672 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site