OSDN Git Service

greybus: remove unnecessary greybus.h includes
authorJohan Hovold <johan@hovoldconsulting.com>
Tue, 19 May 2015 09:22:41 +0000 (11:22 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 21 May 2015 05:48:32 +0000 (22:48 -0700)
Remove unnecessary greybus.h include from header files.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/connection.h
drivers/staging/greybus/protocol.h

index 93886b4..8992b75 100644 (file)
@@ -12,8 +12,6 @@
 
 #include <linux/list.h>
 
-#include "greybus.h"
-
 enum gb_connection_state {
        GB_CONNECTION_STATE_INVALID     = 0,
        GB_CONNECTION_STATE_DISABLED    = 1,
index 95e5b68..8bc3f76 100644 (file)
@@ -10,8 +10,7 @@
 #ifndef __PROTOCOL_H
 #define __PROTOCOL_H
 
-#include "greybus.h"
-
+struct gb_connection;
 struct gb_operation;
 
 /* version request has no payload */