diff options
Diffstat (limited to 'drivers/isdn')
-rw-r--r-- | drivers/isdn/sc/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/isdn/sc/init.c b/drivers/isdn/sc/init.c index 40b0df04ed9f..1ebed041672d 100644 --- a/drivers/isdn/sc/init.c +++ b/drivers/isdn/sc/init.c | |||
@@ -87,7 +87,7 @@ static int __init sc_init(void) | |||
87 | */ | 87 | */ |
88 | for (i = 0 ; i < MAX_IO_REGS - 1 ; i++) { | 88 | for (i = 0 ; i < MAX_IO_REGS - 1 ; i++) { |
89 | if(!request_region(io[b] + i * 0x400, 1, "sc test")) { | 89 | if(!request_region(io[b] + i * 0x400, 1, "sc test")) { |
90 | pr_debug("check_region for 0x%x failed\n", io[b] + i * 0x400); | 90 | pr_debug("request_region for 0x%x failed\n", io[b] + i * 0x400); |
91 | io[b] = 0; | 91 | io[b] = 0; |
92 | break; | 92 | break; |
93 | } else | 93 | } else |
@@ -181,7 +181,7 @@ static int __init sc_init(void) | |||
181 | for (i = SRAM_MIN ; i < SRAM_MAX ; i += SRAM_PAGESIZE) { | 181 | for (i = SRAM_MIN ; i < SRAM_MAX ; i += SRAM_PAGESIZE) { |
182 | pr_debug("Checking RAM address 0x%x...\n", i); | 182 | pr_debug("Checking RAM address 0x%x...\n", i); |
183 | if(request_region(i, SRAM_PAGESIZE, "sc test")) { | 183 | if(request_region(i, SRAM_PAGESIZE, "sc test")) { |
184 | pr_debug(" check_region succeeded\n"); | 184 | pr_debug(" request_region succeeded\n"); |
185 | model = identify_board(i, io[b]); | 185 | model = identify_board(i, io[b]); |
186 | release_region(i, SRAM_PAGESIZE); | 186 | release_region(i, SRAM_PAGESIZE); |
187 | if (model >= 0) { | 187 | if (model >= 0) { |