greybus: include "gpbridge.h" from "greybus.h"
authorAlex Elder <elder@linaro.org>
Fri, 22 May 2015 17:35:31 +0000 (12:35 -0500)
committerGreg Kroah-Hartman <gregkh@google.com>
Sat, 23 May 2015 23:34:39 +0000 (16:34 -0700)
Avoid the need for all the source files to include "gpbridge.h"
by just having "greybus.h" include it.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/audio-dai.c
drivers/staging/greybus/audio-gb-cmds.c
drivers/staging/greybus/audio-pcm.c
drivers/staging/greybus/audio.c
drivers/staging/greybus/audio.h
drivers/staging/greybus/gpio.c
drivers/staging/greybus/greybus.h
drivers/staging/greybus/i2c.c
drivers/staging/greybus/pwm.c
drivers/staging/greybus/spi.c

index 39b72f0..0dd7364 100644 (file)
@@ -11,8 +11,8 @@
 #include <sound/soc.h>
 #include <sound/dmaengine_pcm.h>
 #include <sound/simple_card.h>
+
 #include "greybus.h"
-#include "gpbridge.h"
 #include "audio.h"
 
 /*
index 9dbde0d..f6a29ab 100644 (file)
@@ -1,6 +1,6 @@
 #include <linux/kernel.h>
+
 #include "greybus.h"
-#include "gpbridge.h"
 #include "audio.h"
 
 #define GB_I2S_MGMT_VERSION_MAJOR              0x00
index b327008..a1faf78 100644 (file)
@@ -11,8 +11,8 @@
 #include <sound/soc.h>
 #include <sound/dmaengine_pcm.h>
 #include <sound/simple_card.h>
+
 #include "greybus.h"
-#include "gpbridge.h"
 #include "audio.h"
 
 /*
index 76b6bdc..c873f33 100644 (file)
@@ -10,8 +10,8 @@
 #include <sound/soc.h>
 #include <sound/dmaengine_pcm.h>
 #include <sound/simple_card.h>
+
 #include "greybus.h"
-#include "gpbridge.h"
 #include "audio.h"
 
 
index fa1bb54..c9087c9 100644 (file)
@@ -7,9 +7,8 @@
 #include <linux/i2c.h>
 #include <linux/platform_device.h>
 #include <sound/soc.h>
-#include "greybus.h"
-#include "gpbridge.h"
 
+#include "greybus.h"
 
 #define GB_SAMPLE_RATE                         48000
 #define GB_RATES                               SNDRV_PCM_RATE_48000
index 871f2d0..6e5fe5b 100644 (file)
@@ -14,7 +14,6 @@
 #include <linux/irq.h>
 #include <linux/irqdomain.h>
 #include "greybus.h"
-#include "gpbridge.h"
 
 struct gb_gpio_line {
        /* The following has to be an array of line_max entries */
index dbb4e78..c58f123 100644 (file)
@@ -23,6 +23,7 @@
 #include "kernel_ver.h"
 #include "greybus_id.h"
 #include "greybus_manifest.h"
+#include "gpbridge.h"
 #include "manifest.h"
 #include "endo.h"
 #include "module.h"
index 14fdea1..01afca8 100644 (file)
@@ -13,8 +13,6 @@
 #include <linux/i2c.h>
 
 #include "greybus.h"
-#include "gpbridge.h"
-
 
 struct gb_i2c_device {
        struct gb_connection    *connection;
index 7f675bf..5dfeb0e 100644 (file)
@@ -11,8 +11,8 @@
 #include <linux/module.h>
 #include <linux/slab.h>
 #include <linux/pwm.h>
+
 #include "greybus.h"
-#include "gpbridge.h"
 
 struct gb_pwm_chip {
        struct gb_connection    *connection;
index 430c3ad..78a7f85 100644 (file)
@@ -14,7 +14,6 @@
 #include <linux/spi/spi.h>
 
 #include "greybus.h"
-#include "gpbridge.h"
 
 struct gb_spi {
        struct gb_connection    *connection;