aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/synclink.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tty/synclink.c')
-rw-r--r--drivers/tty/synclink.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/tty/synclink.c b/drivers/tty/synclink.c
index 3be981101297..f2c34d656144 100644
--- a/drivers/tty/synclink.c
+++ b/drivers/tty/synclink.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-1.0+
1/* 2/*
2 * $Id: synclink.c,v 4.38 2005/11/07 16:30:34 paulkf Exp $ 3 * $Id: synclink.c,v 4.38 2005/11/07 16:30:34 paulkf Exp $
3 * 4 *
@@ -13,8 +14,6 @@
13 * 14 *
14 * Original release 01/11/99 15 * Original release 01/11/99
15 * 16 *
16 * This code is released under the GNU General Public License (GPL)
17 *
18 * This driver is primarily intended for use in synchronous 17 * This driver is primarily intended for use in synchronous
19 * HDLC mode. Asynchronous mode is also provided. 18 * HDLC mode. Asynchronous mode is also provided.
20 * 19 *
@@ -4098,8 +4097,7 @@ static int mgsl_claim_resources(struct mgsl_struct *info)
4098 if (request_dma(info->dma_level,info->device_name) < 0){ 4097 if (request_dma(info->dma_level,info->device_name) < 0){
4099 printk( "%s(%d):Can't request DMA channel on device %s DMA=%d\n", 4098 printk( "%s(%d):Can't request DMA channel on device %s DMA=%d\n",
4100 __FILE__,__LINE__,info->device_name, info->dma_level ); 4099 __FILE__,__LINE__,info->device_name, info->dma_level );
4101 mgsl_release_resources( info ); 4100 goto errout;
4102 return -ENODEV;
4103 } 4101 }
4104 info->dma_requested = true; 4102 info->dma_requested = true;
4105 4103