Commit e9385e5d authored by Alex Elder's avatar Alex Elder Committed by Greg Kroah-Hartman

greybus: include "gpbridge.h" from "greybus.h"

Avoid the need for all the source files to include "gpbridge.h"
by just having "greybus.h" include it.
Signed-off-by: default avatarAlex Elder <elder@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent 8ea70fe0
...@@ -11,8 +11,8 @@ ...@@ -11,8 +11,8 @@
#include <sound/soc.h> #include <sound/soc.h>
#include <sound/dmaengine_pcm.h> #include <sound/dmaengine_pcm.h>
#include <sound/simple_card.h> #include <sound/simple_card.h>
#include "greybus.h" #include "greybus.h"
#include "gpbridge.h"
#include "audio.h" #include "audio.h"
/* /*
......
#include <linux/kernel.h> #include <linux/kernel.h>
#include "greybus.h" #include "greybus.h"
#include "gpbridge.h"
#include "audio.h" #include "audio.h"
#define GB_I2S_MGMT_VERSION_MAJOR 0x00 #define GB_I2S_MGMT_VERSION_MAJOR 0x00
......
...@@ -11,8 +11,8 @@ ...@@ -11,8 +11,8 @@
#include <sound/soc.h> #include <sound/soc.h>
#include <sound/dmaengine_pcm.h> #include <sound/dmaengine_pcm.h>
#include <sound/simple_card.h> #include <sound/simple_card.h>
#include "greybus.h" #include "greybus.h"
#include "gpbridge.h"
#include "audio.h" #include "audio.h"
/* /*
......
...@@ -10,8 +10,8 @@ ...@@ -10,8 +10,8 @@
#include <sound/soc.h> #include <sound/soc.h>
#include <sound/dmaengine_pcm.h> #include <sound/dmaengine_pcm.h>
#include <sound/simple_card.h> #include <sound/simple_card.h>
#include "greybus.h" #include "greybus.h"
#include "gpbridge.h"
#include "audio.h" #include "audio.h"
......
...@@ -7,9 +7,8 @@ ...@@ -7,9 +7,8 @@
#include <linux/i2c.h> #include <linux/i2c.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <sound/soc.h> #include <sound/soc.h>
#include "greybus.h"
#include "gpbridge.h"
#include "greybus.h"
#define GB_SAMPLE_RATE 48000 #define GB_SAMPLE_RATE 48000
#define GB_RATES SNDRV_PCM_RATE_48000 #define GB_RATES SNDRV_PCM_RATE_48000
......
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
#include <linux/irq.h> #include <linux/irq.h>
#include <linux/irqdomain.h> #include <linux/irqdomain.h>
#include "greybus.h" #include "greybus.h"
#include "gpbridge.h"
struct gb_gpio_line { struct gb_gpio_line {
/* The following has to be an array of line_max entries */ /* The following has to be an array of line_max entries */
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#include "kernel_ver.h" #include "kernel_ver.h"
#include "greybus_id.h" #include "greybus_id.h"
#include "greybus_manifest.h" #include "greybus_manifest.h"
#include "gpbridge.h"
#include "manifest.h" #include "manifest.h"
#include "endo.h" #include "endo.h"
#include "module.h" #include "module.h"
......
...@@ -13,8 +13,6 @@ ...@@ -13,8 +13,6 @@
#include <linux/i2c.h> #include <linux/i2c.h>
#include "greybus.h" #include "greybus.h"
#include "gpbridge.h"
struct gb_i2c_device { struct gb_i2c_device {
struct gb_connection *connection; struct gb_connection *connection;
......
...@@ -11,8 +11,8 @@ ...@@ -11,8 +11,8 @@
#include <linux/module.h> #include <linux/module.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/pwm.h> #include <linux/pwm.h>
#include "greybus.h" #include "greybus.h"
#include "gpbridge.h"
struct gb_pwm_chip { struct gb_pwm_chip {
struct gb_connection *connection; struct gb_connection *connection;
......
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
#include <linux/spi/spi.h> #include <linux/spi/spi.h>
#include "greybus.h" #include "greybus.h"
#include "gpbridge.h"
struct gb_spi { struct gb_spi {
struct gb_connection *connection; struct gb_connection *connection;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment