Messages in this thread Patch in this message |  | | Date | Mon, 19 Apr 1999 21:40:25 -0400 (EDT) | From | "Frederick F. Gleason" <> | Subject | [patch] Fix for Cadet Radio Driver |
| |
The following fixes the broken compile for the ADS Cadet radio card driver in 2.2.6:
-- patch begins -- diff -u --recursive --new-file linux-2.2.6/drivers/char/radio-cadet.c linux/drivers/char/radio-cadet.c --- linux-2.2.6/drivers/char/radio-cadet.c Mon Apr 19 20:44:43 1999 +++ linux/drivers/char/radio-cadet.c Mon Apr 19 21:14:58 1999 @@ -354,6 +354,7 @@ } +#ifndef MODULE static int cadet_probe(void) { static int iovals[8]={0x330,0x332,0x334,0x336,0x338,0x33a,0x33c,0x33e}; @@ -371,6 +372,7 @@ } return -1; } +#endif diff -u --recursive --new-file linux-2.2.6/include/linux/videodev.h linux/include/linux/videodev.h --- linux-2.2.6/include/linux/videodev.h Wed Mar 17 21:20:22 1999 +++ linux/include/linux/videodev.h Mon Apr 19 21:09:00 1999 @@ -275,6 +275,7 @@ #define VID_HARDWARE_GEMTEK 18 #define VID_HARDWARE_TYPHOON 19 #define VID_HARDWARE_VINO 20 /* Reserved for SGI Indy Vino */ +#define VID_HARDWARE_CADET 21 /* * Initialiser list -- patch ends --
|Frederick F. Gleason, Jr.|WAVA Radio - 105 FM |Voice: 1-(703)-807-2266 | | Chief Engineer |1901 N. Moore Street| FAX: 1-(703)-807-2248 | | |Arlington, VA 22209 | Web: HTTP://www.wava.com|
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
|  |