greybus: rename interface_block.[c|h] -> interface.[c|h]
authorGreg Kroah-Hartman <greg@kroah.com>
Fri, 19 Dec 2014 22:56:30 +0000 (14:56 -0800)
committerGreg Kroah-Hartman <greg@kroah.com>
Fri, 19 Dec 2014 23:35:44 +0000 (15:35 -0800)
Interface_block is being renamed to interface, so move the file first.

Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/Makefile
drivers/staging/greybus/greybus.h
drivers/staging/greybus/interface.c [moved from drivers/staging/greybus/interface_block.c with 100% similarity]
drivers/staging/greybus/interface.h [moved from drivers/staging/greybus/interface_block.h with 93% similarity]

index 08cdaf1..6c0b0ca 100644 (file)
@@ -2,7 +2,7 @@ greybus-y :=    core.o          \
                debugfs.o       \
                ap.o            \
                manifest.o      \
-               interface_block.o       \
+               interface.o     \
                bundle.o        \
                connection.o    \
                protocol.o      \
index 230cc28..e0c5eb7 100644 (file)
@@ -24,7 +24,7 @@
 #include "greybus_id.h"
 #include "greybus_manifest.h"
 #include "manifest.h"
-#include "interface_block.h"
+#include "interface.h"
 #include "bundle.h"
 #include "connection.h"
 #include "protocol.h"
similarity index 93%
rename from drivers/staging/greybus/interface_block.h
rename to drivers/staging/greybus/interface.h
index e0846d8..5c7cebc 100644 (file)
@@ -7,8 +7,8 @@
  * Released under the GPLv2 only.
  */
 
-#ifndef __INTERFACE_BLOCK_H
-#define __INTERFACE_BLOCK_H
+#ifndef __INTERFACE_H
+#define __INTERFACE_H
 
 /* Increase these values if needed */
 #define MAX_CPORTS_PER_MODULE  10
@@ -55,4 +55,4 @@ const struct greybus_interface_block_id *
 struct gb_interface_block *gb_ib_find(struct greybus_host_device *hd,
                                      u8 module_id);
 
-#endif /* __INTERFACE_BLOCK_H */
+#endif /* __INTERFACE_H */