]> git.karo-electronics.de Git - karo-tx-uboot.git/commitdiff
mailbox: rename headers
authorStephen Warren <swarren@nvidia.com>
Fri, 17 Jun 2016 15:43:56 +0000 (09:43 -0600)
committerSimon Glass <sjg@chromium.org>
Sun, 19 Jun 2016 23:05:55 +0000 (17:05 -0600)
Rename mailbox*.h to match the naming convention requested during review
of the new reset subsystem.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/mailbox/mailbox-uclass.c
drivers/mailbox/sandbox-mbox-test.c
drivers/mailbox/sandbox-mbox.c
include/mailbox-uclass.h [moved from include/mailbox_uclass.h with 96% similarity]
include/mailbox.h [moved from include/mailbox_client.h with 98% similarity]

index 73fa32874a5fa14401fcaf6e4ff4997752d8c492..40f851d915490e793326588b2831c66523802c7b 100644 (file)
@@ -7,8 +7,8 @@
 #include <common.h>
 #include <dm.h>
 #include <fdtdec.h>
-#include <mailbox_client.h>
-#include <mailbox_uclass.h>
+#include <mailbox.h>
+#include <mailbox-uclass.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
index 02d161aada332be148b559e4bcedafc9a13468bd..8351522bd4d507c5395562364e957bfa8a731b8c 100644 (file)
@@ -6,7 +6,7 @@
 
 #include <common.h>
 #include <dm.h>
-#include <mailbox_client.h>
+#include <mailbox.h>
 #include <asm/io.h>
 
 struct sandbox_mbox_test {
index 1b7ac231cb7cdb68540d1ef10644e8a308a4f999..530c62c029c8f02978c63f1ec4b751f6027c7093 100644 (file)
@@ -6,7 +6,7 @@
 
 #include <common.h>
 #include <dm.h>
-#include <mailbox_uclass.h>
+#include <mailbox-uclass.h>
 #include <asm/io.h>
 #include <asm/mbox.h>
 
similarity index 96%
rename from include/mailbox_uclass.h
rename to include/mailbox-uclass.h
index 6a2994c34cea0776a02d6a0003f1af71d00066bb..6ec62e5a0ee3679d72b1a986601baa3e44d1a850 100644 (file)
@@ -7,9 +7,9 @@
 #ifndef _MAILBOX_UCLASS_H
 #define _MAILBOX_UCLASS_H
 
-/* See mailbox_client.h for background documentation. */
+/* See mailbox.h for background documentation. */
 
-#include <mailbox_client.h>
+#include <mailbox.h>
 
 struct udevice;
 
similarity index 98%
rename from include/mailbox_client.h
rename to include/mailbox.h
index 8345ea0bf1fbf2d6b1c25e44d8bf0ba8e393aca3..a92a1a590dfeb2e88859067a317e23a8d33d1d46 100644 (file)
@@ -4,8 +4,8 @@
  * SPDX-License-Identifier: GPL-2.0
  */
 
-#ifndef _MAILBOX_CLIENT_H
-#define _MAILBOX_CLIENT_H
+#ifndef _MAILBOX_H
+#define _MAILBOX_H
 
 /**
  * A mailbox is a hardware mechanism for transferring small fixed-size messages
@@ -26,7 +26,7 @@
  *
  * A driver that implements UCLASS_MAILBOX is a mailbox provider. A provider
  * will often implement multiple separate mailbox channels, since the hardware
- * it manages often has this capability. mailbox_uclass.h describes the
+ * it manages often has this capability. mailbox-uclass.h describes the
  * interface which mailbox providers must implement.
  *
  * Mailbox consumers/clients generate and send, or receive and process,