lkml.org 
[lkml]   [2002]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] amiga input api drivers

> > diff -urN -X /home/jsimmons/dontdiff linux-2.5.4-dj1/arch/m68k/amiga/config.c l
> > inux/arch/m68k/amiga/config.c
> > --- linux-2.5.4-dj1/arch/m68k/amiga/config.c Wed Jan 16 10:31:50 2002
> > +++ linux/arch/m68k/amiga/config.c Wed Feb 13 10:26:42 2002
> > @@ -69,11 +69,13 @@
> > extern char m68k_debug_device[];
> >
> > static void amiga_sched_init(void (*handler)(int, void *, struct pt_regs *));
> > +#ifndef CONFIG_KEYBOARD_AMIGA
> > /* amiga specific keyboard functions */
> > extern int amiga_keyb_init(void);
> > extern int amiga_kbdrate (struct kbd_repeat *);
> > extern int amiga_kbd_translate(unsigned char keycode, unsigned char *keycodep,
> > char raw_mode);
> > +#endif
>
> The #ifdef isn't needed: As long as the functions aren't used, gcc won't
> mind them declared if they aren't around.

Personally I like to see all the mach_kbd* etc go away.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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