]> git.sur5r.net Git - u-boot/blobdiff - drivers/mailbox/mailbox-uclass.c
gpio: omap_gpio: Convert to auto-alloc feature when DT is supported
[u-boot] / drivers / mailbox / mailbox-uclass.c
index 822ae5b45e55ebdc88765b5d6228386c435c7369..1b4a5863c9e5c3a24989e2ca61145e80da996c4e 100644 (file)
@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (c) 2016, NVIDIA CORPORATION.
- *
- * SPDX-License-Identifier: GPL-2.0
  */
 
 #include <common.h>
@@ -9,8 +8,6 @@
 #include <mailbox.h>
 #include <mailbox-uclass.h>
 
-DECLARE_GLOBAL_DATA_PTR;
-
 static inline struct mbox_ops *mbox_dev_ops(struct udevice *dev)
 {
        return (struct mbox_ops *)dev->driver->ops;