On Tue, Jun 05, 2012 at 10:58:17AM -0700, H Hartley Sweeten wrote: > What does #define __NO_VERSION__ do? > > The only file in mainline that has this is > sound/pci/pcxhr/pcxhr_mixer.c:#define __NO_VERSION__ > > In staging a couple of files have it in some form: > > drivers/staging/comedi/comedi_compat32.c:#define __NO_VERSION__ > drivers/staging/comedi/comedi_fops.c:#define __NO_VERSION__ > drivers/staging/comedi/drivers.c:#define __NO_VERSION__ > drivers/staging/comedi/kcomedilib/kcomedilib_main.c:#define __NO_VERSION__ > drivers/staging/comedi/proc.c:#define __NO_VERSION__ > drivers/staging/vt6655/Makefile:ccflags-y := -DLINUX -D__KERNEL__ -D__NO_VERSION__ > drivers/staging/vt6655/device_main.c:#undef __NO_VERSION__ > drivers/staging/vt6656/Makefile:ccflags-y := -DLINUX -D__KERNEL__ -DEXPORT_SYMTAB -D__NO_VERSION__ > drivers/staging/vt6656/main_usb.c:#undef __NO_VERSION__ > drivers/staging/wlags49_h2/wl_version.h:#define __NO_VERSION__ That's really weird, it also shows up in sound/pci/pcxhr/pcxhr_mixer.c I don't know what that is there for, perhaps an old 2.2 or 2.0 or maybe 2.4 thing, when trying to figure out what kernel version the code was being built for. All of these drivers used to live stand-alone outside of the kernel, so that's maybe why it was needed at one time. I say delete it all :) thanks, greg k-h _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel