Changeset 1045

Show
Ignore:
Timestamp:
03/24/01 19:35:13 (11 years ago)
Author:
mds
Message:

move a couple of lines around

Location:
lm-sensors/trunk/prog/hotplug
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/prog/hotplug/Makefile

    r894 r1045  
    11INCLUDEDIR = /usr/include 
    2 #CFLAGS := -D__KERNEL__ -DMODULE -DLINUX -O2 -Wall -I$(INCLUDEDIR) 
    3 CC := gcc 
    42 
    53# Compile with Debugging turned on - watch out, lots of pci device infos. 
    64CFLAGS = -D__KERNEL__ -DMODULE -DLINUX -DM7101_DEBUG -O2 -Wall -I$(INCLUDEDIR) 
     5# CFLAGS := -D__KERNEL__ -DMODULE -DLINUX -O2 -Wall -I$(INCLUDEDIR) 
     6 
     7CC := gcc 
    78LD := ld 
    89 
  • lm-sensors/trunk/prog/hotplug/m7101.c

    r894 r1045  
    102102static u32 acpi_io = 0xEC00;    /* Set I/O Base defaults here */ 
    103103static u32 smb_io  = 0xE800; 
    104 static int debug = 0; 
    105104MODULE_PARM(acpi_io, "l");  
    106105MODULE_PARM(smb_io, "l"); 
    107106#ifdef M7101_DEBUG 
     107static int debug = 0; 
    108108MODULE_PARM(debug, "i"); 
    109109#endif 
     
    283283                if(debug) 
    284284                { 
     285                        printk("m7101: removing device for testing\n"); 
    285286                        pci_remove_device(dev); 
    286                         printk("m7101: removing device for testing\n"); 
    287287                        m7101_inserted = 0; 
    288288                        return 0;