mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-09-03 15:55:15 +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:
@@ -1,9 +1,10 @@
|
|||||||
INCLUDEDIR = /usr/include
|
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.
|
# 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 -DM7101_DEBUG -O2 -Wall -I$(INCLUDEDIR)
|
||||||
|
# CFLAGS := -D__KERNEL__ -DMODULE -DLINUX -O2 -Wall -I$(INCLUDEDIR)
|
||||||
|
|
||||||
|
CC := gcc
|
||||||
LD := ld
|
LD := ld
|
||||||
|
|
||||||
# extract versionnumber from version.h
|
# extract versionnumber from version.h
|
||||||
|
@@ -101,10 +101,10 @@
|
|||||||
#define SMB_BASE 0x1
|
#define SMB_BASE 0x1
|
||||||
static u32 acpi_io = 0xEC00; /* Set I/O Base defaults here */
|
static u32 acpi_io = 0xEC00; /* Set I/O Base defaults here */
|
||||||
static u32 smb_io = 0xE800;
|
static u32 smb_io = 0xE800;
|
||||||
static int debug = 0;
|
|
||||||
MODULE_PARM(acpi_io, "l");
|
MODULE_PARM(acpi_io, "l");
|
||||||
MODULE_PARM(smb_io, "l");
|
MODULE_PARM(smb_io, "l");
|
||||||
#ifdef M7101_DEBUG
|
#ifdef M7101_DEBUG
|
||||||
|
static int debug = 0;
|
||||||
MODULE_PARM(debug, "i");
|
MODULE_PARM(debug, "i");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -282,8 +282,8 @@ int init_module(void)
|
|||||||
#ifdef M7101_DEBUG
|
#ifdef M7101_DEBUG
|
||||||
if(debug)
|
if(debug)
|
||||||
{
|
{
|
||||||
pci_remove_device(dev);
|
|
||||||
printk("m7101: removing device for testing\n");
|
printk("m7101: removing device for testing\n");
|
||||||
|
pci_remove_device(dev);
|
||||||
m7101_inserted = 0;
|
m7101_inserted = 0;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user