2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-30 22:05:11 +00:00

move a couple of lines around

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1045 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Mark D. Studebaker
2001-03-24 18:35:13 +00:00
parent 9839d59d7f
commit af51f14cb8
2 changed files with 5 additions and 4 deletions

View File

@@ -1,9 +1,10 @@
INCLUDEDIR = /usr/include
#CFLAGS := -D__KERNEL__ -DMODULE -DLINUX -O2 -Wall -I$(INCLUDEDIR)
CC := gcc
# Compile with Debugging turned on - watch out, lots of pci device infos.
CFLAGS = -D__KERNEL__ -DMODULE -DLINUX -DM7101_DEBUG -O2 -Wall -I$(INCLUDEDIR)
# CFLAGS := -D__KERNEL__ -DMODULE -DLINUX -O2 -Wall -I$(INCLUDEDIR)
CC := gcc
LD := ld
# extract versionnumber from version.h

View File

@@ -101,10 +101,10 @@
#define SMB_BASE 0x1
static u32 acpi_io = 0xEC00; /* Set I/O Base defaults here */
static u32 smb_io = 0xE800;
static int debug = 0;
MODULE_PARM(acpi_io, "l");
MODULE_PARM(smb_io, "l");
#ifdef M7101_DEBUG
static int debug = 0;
MODULE_PARM(debug, "i");
#endif
@@ -282,8 +282,8 @@ int init_module(void)
#ifdef M7101_DEBUG
if(debug)
{
pci_remove_device(dev);
printk("m7101: removing device for testing\n");
pci_remove_device(dev);
m7101_inserted = 0;
return 0;
}