diff options
Diffstat (limited to 'drivers/char/pcmcia/synclink_cs.c')
-rw-r--r-- | drivers/char/pcmcia/synclink_cs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/pcmcia/synclink_cs.c b/drivers/char/pcmcia/synclink_cs.c index beca80bb9bdb..b575411c69b2 100644 --- a/drivers/char/pcmcia/synclink_cs.c +++ b/drivers/char/pcmcia/synclink_cs.c | |||
@@ -1290,7 +1290,7 @@ static int startup(MGSLPC_INFO * info, struct tty_struct *tty) | |||
1290 | /* Allocate and claim adapter resources */ | 1290 | /* Allocate and claim adapter resources */ |
1291 | retval = claim_resources(info); | 1291 | retval = claim_resources(info); |
1292 | 1292 | ||
1293 | /* perform existance check and diagnostics */ | 1293 | /* perform existence check and diagnostics */ |
1294 | if ( !retval ) | 1294 | if ( !retval ) |
1295 | retval = adapter_test(info); | 1295 | retval = adapter_test(info); |
1296 | 1296 | ||
@@ -2680,7 +2680,7 @@ static void rx_free_buffers(MGSLPC_INFO *info) | |||
2680 | static int claim_resources(MGSLPC_INFO *info) | 2680 | static int claim_resources(MGSLPC_INFO *info) |
2681 | { | 2681 | { |
2682 | if (rx_alloc_buffers(info) < 0 ) { | 2682 | if (rx_alloc_buffers(info) < 0 ) { |
2683 | printk( "Cant allocate rx buffer %s\n", info->device_name); | 2683 | printk( "Can't allocate rx buffer %s\n", info->device_name); |
2684 | release_resources(info); | 2684 | release_resources(info); |
2685 | return -ENODEV; | 2685 | return -ENODEV; |
2686 | } | 2686 | } |