From 6d2d0a4a576aa5ceb2a99bffc82165f0b38cbc5c Mon Sep 17 00:00:00 2001 From: Randy Dunlap Date: Wed, 21 Apr 2010 14:32:47 -0700 Subject: [PATCH] --- yaml --- r: 190107 b: refs/heads/master c: 74a920139a0f1119c5a604cef0ce5d6f591dc782 h: refs/heads/master i: 190105: e3524d978cb82cdbd696203b407e75c0b968555e 190103: 08e902e684780459662ab60e6d415c209d0c81ac v: v3 --- [refs] | 2 +- trunk/drivers/staging/dt3155/dt3155_drv.c | 14 +++----------- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/[refs] b/[refs] index 41a26b3b1ee0..bc2bf6b16257 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5e31877b647bf41ad080adad6100a617ed4c6be4 +refs/heads/master: 74a920139a0f1119c5a604cef0ce5d6f591dc782 diff --git a/trunk/drivers/staging/dt3155/dt3155_drv.c b/trunk/drivers/staging/dt3155/dt3155_drv.c index a67c622869d2..e2c44ec6fc45 100644 --- a/trunk/drivers/staging/dt3155/dt3155_drv.c +++ b/trunk/drivers/staging/dt3155/dt3155_drv.c @@ -57,19 +57,8 @@ MA 02111-1307 USA extern void printques(int); -#ifdef MODULE #include #include - - -MODULE_LICENSE("GPL"); - -#endif - -#ifndef CONFIG_PCI -#error "DT3155 : Kernel PCI support not enabled (DT3155 drive requires PCI)" -#endif - #include #include #include @@ -84,6 +73,9 @@ MODULE_LICENSE("GPL"); #include "dt3155_io.h" #include "allocator.h" + +MODULE_LICENSE("GPL"); + /* Error variable. Zero means no error. */ int dt3155_errno = 0;