Skip to content

Commit

Permalink
staging: comedi: remove unnecessary '#define __NO_VERSION__'
Browse files Browse the repository at this point in the history
This define is no longer required for multi-file modules.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Nov 27, 2012
1 parent 1be287f commit 1b6c710
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion drivers/staging/comedi/comedi_compat32.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
*/

#define __NO_VERSION__
#include <linux/uaccess.h>
#include <linux/compat.h>
#include <linux/fs.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/comedi/comedi_fops.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@

#undef DEBUG

#define __NO_VERSION__
#include "comedi_compat32.h"

#include <linux/module.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/comedi/drivers.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
*/

#define __NO_VERSION__
#include <linux/device.h>
#include <linux/module.h>
#include <linux/pci.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/comedi/kcomedilib/kcomedilib_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
*/

#define __NO_VERSION__
#include <linux/module.h>

#include <linux/errno.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/comedi/proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
was cool.
*/

#define __NO_VERSION__
#include "comedidev.h"
#include "comedi_internal.h"
#include <linux/proc_fs.h>
Expand Down

0 comments on commit 1b6c710

Please sign in to comment.