From a93938a23d4d0210d06ea106a132bcab491d3885 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Fri, 19 Dec 2014 14:56:30 -0800 Subject: [PATCH] greybus: rename interface_block.[c|h] -> interface.[c|h] Interface_block is being renamed to interface, so move the file first. Reviewed-by: Alex Elder Signed-off-by: Greg Kroah-Hartman --- drivers/staging/greybus/Makefile | 2 +- drivers/staging/greybus/greybus.h | 2 +- drivers/staging/greybus/{interface_block.c => interface.c} | 0 drivers/staging/greybus/{interface_block.h => interface.h} | 6 +++--- 4 files changed, 5 insertions(+), 5 deletions(-) rename drivers/staging/greybus/{interface_block.c => interface.c} (100%) rename drivers/staging/greybus/{interface_block.h => interface.h} (93%) diff --git a/drivers/staging/greybus/Makefile b/drivers/staging/greybus/Makefile index 08cdaf1..6c0b0ca 100644 --- a/drivers/staging/greybus/Makefile +++ b/drivers/staging/greybus/Makefile @@ -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 \ diff --git a/drivers/staging/greybus/greybus.h b/drivers/staging/greybus/greybus.h index 230cc28..e0c5eb7 100644 --- a/drivers/staging/greybus/greybus.h +++ b/drivers/staging/greybus/greybus.h @@ -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" diff --git a/drivers/staging/greybus/interface_block.c b/drivers/staging/greybus/interface.c similarity index 100% rename from drivers/staging/greybus/interface_block.c rename to drivers/staging/greybus/interface.c diff --git a/drivers/staging/greybus/interface_block.h b/drivers/staging/greybus/interface.h similarity index 93% rename from drivers/staging/greybus/interface_block.h rename to drivers/staging/greybus/interface.h index e0846d8..5c7cebc 100644 --- a/drivers/staging/greybus/interface_block.h +++ b/drivers/staging/greybus/interface.h @@ -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 */ -- 2.7.4