]> git.sur5r.net Git - u-boot/blobdiff - drivers/dma/dma-uclass.c
spi: mxc_spi: Fix chipselect on DM_SPI driver uclass
[u-boot] / drivers / dma / dma-uclass.c
index 3d0ce22fbc2186c0caab158a00394081663b5a21..a33f7d52dace3b6824f51a6f6aa2e350c65ffa73 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Direct Memory Access U-Class driver
  *
@@ -5,8 +6,6 @@
  *     Texas Instruments Incorporated, <www.ti.com>
  *
  * Author: Mugunthan V N <mugunthanvnm@ti.com>
- *
- * SPDX-License-Identifier:     GPL-2.0+
  */
 
 #include <common.h>
@@ -16,8 +15,6 @@
 #include <dm/device-internal.h>
 #include <errno.h>
 
-DECLARE_GLOBAL_DATA_PTR;
-
 int dma_get_device(u32 transfer_type, struct udevice **devp)
 {
        struct udevice *dev;