Commit 1fbe8529 authored by Alan Cox's avatar Alan Cox Committed by James Bottomley

[SCSI] dtc: clean up indent damage and add printk levels

Signed-off-by: default avatarAlan Cox <alan@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 8f8bf7e6
...@@ -137,11 +137,9 @@ static struct override { ...@@ -137,11 +137,9 @@ static struct override {
#ifdef OVERRIDE #ifdef OVERRIDE
[] __initdata = OVERRIDE; [] __initdata = OVERRIDE;
#else #else
[4] __initdata = { { [4] __initdata = {
0, IRQ_AUTO}, { { 0, IRQ_AUTO }, { 0, IRQ_AUTO }, { 0, IRQ_AUTO }, { 0, IRQ_AUTO }
0, IRQ_AUTO}, { };
0, IRQ_AUTO}, {
0, IRQ_AUTO}};
#endif #endif
#define NO_OVERRIDES ARRAY_SIZE(overrides) #define NO_OVERRIDES ARRAY_SIZE(overrides)
...@@ -176,7 +174,7 @@ static const struct signature { ...@@ -176,7 +174,7 @@ static const struct signature {
* Inputs : str - unused, ints - array of integer parameters with ints[0] * Inputs : str - unused, ints - array of integer parameters with ints[0]
* equal to the number of ints. * equal to the number of ints.
* *
*/ */
static void __init dtc_setup(char *str, int *ints) static void __init dtc_setup(char *str, int *ints)
{ {
...@@ -233,7 +231,7 @@ static int __init dtc_detect(struct scsi_host_template * tpnt) ...@@ -233,7 +231,7 @@ static int __init dtc_detect(struct scsi_host_template * tpnt)
} else } else
for (; !addr && (current_base < NO_BASES); ++current_base) { for (; !addr && (current_base < NO_BASES); ++current_base) {
#if (DTCDEBUG & DTCDEBUG_INIT) #if (DTCDEBUG & DTCDEBUG_INIT)
printk("scsi-dtc : probing address %08x\n", bases[current_base].address); printk(KERN_DEBUG "scsi-dtc : probing address %08x\n", bases[current_base].address);
#endif #endif
if (bases[current_base].noauto) if (bases[current_base].noauto)
continue; continue;
...@@ -244,7 +242,7 @@ static int __init dtc_detect(struct scsi_host_template * tpnt) ...@@ -244,7 +242,7 @@ static int __init dtc_detect(struct scsi_host_template * tpnt)
if (check_signature(base + signatures[sig].offset, signatures[sig].string, strlen(signatures[sig].string))) { if (check_signature(base + signatures[sig].offset, signatures[sig].string, strlen(signatures[sig].string))) {
addr = bases[current_base].address; addr = bases[current_base].address;
#if (DTCDEBUG & DTCDEBUG_INIT) #if (DTCDEBUG & DTCDEBUG_INIT)
printk("scsi-dtc : detected board.\n"); printk(KERB_DEBUG "scsi-dtc : detected board.\n");
#endif #endif
goto found; goto found;
} }
...@@ -253,7 +251,7 @@ static int __init dtc_detect(struct scsi_host_template * tpnt) ...@@ -253,7 +251,7 @@ static int __init dtc_detect(struct scsi_host_template * tpnt)
} }
#if defined(DTCDEBUG) && (DTCDEBUG & DTCDEBUG_INIT) #if defined(DTCDEBUG) && (DTCDEBUG & DTCDEBUG_INIT)
printk("scsi-dtc : base = %08x\n", addr); printk(KERN_DEBUG "scsi-dtc : base = %08x\n", addr);
#endif #endif
if (!addr) if (!addr)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment