Skip to content

Commit ec0ad86

Browse files
committed
staging: greybus: move core include files to include/linux/greybus/
With the goal of moving the core of the greybus code out of staging, the include files need to be moved to include/linux/greybus.h and include/linux/greybus/ Cc: Vaibhav Hiremath <hvaibhav.linux@gmail.com> Cc: Johan Hovold <johan@kernel.org> Cc: Vaibhav Agarwal <vaibhav.sr@gmail.com> Cc: Rui Miguel Silva <rmfrfs@gmail.com> Cc: David Lin <dtwlin@gmail.com> Cc: "Bryan O'Donoghue" <pure.logic@nexus-software.ie> Cc: greybus-dev@lists.linaro.org Cc: devel@driverdev.osuosl.org Acked-by: Mark Greer <mgreer@animalcreek.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Acked-by: Alex Elder <elder@kernel.org> Link: https://lore.kernel.org/r/20190825055429.18547-8-gregkh@linuxfoundation.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 9c31973 commit ec0ad86

53 files changed

Lines changed: 52 additions & 71 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎drivers/staging/greybus/arche-platform.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
#include <linux/irq.h>
2020
#include <linux/suspend.h>
2121
#include <linux/time.h>
22+
#include <linux/greybus.h>
2223
#include "arche_platform.h"
23-
#include "greybus.h"
2424

2525
#if IS_ENABLED(CONFIG_USB_HSIC_USB3613)
2626
#include <linux/usb/usb3613.h>

‎drivers/staging/greybus/audio_apbridgea.c‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
* Copyright 2015-2016 Google Inc.
66
*/
77

8-
#include "greybus.h"
9-
#include "greybus_protocols.h"
8+
#include <linux/greybus.h>
109
#include "audio_apbridgea.h"
1110
#include "audio_codec.h"
1211

‎drivers/staging/greybus/audio_codec.h‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,10 @@
88
#ifndef __LINUX_GBAUDIO_CODEC_H
99
#define __LINUX_GBAUDIO_CODEC_H
1010

11+
#include <linux/greybus.h>
1112
#include <sound/soc.h>
1213
#include <sound/jack.h>
1314

14-
#include "greybus.h"
15-
#include "greybus_protocols.h"
16-
1715
#define NAME_SIZE 32
1816
#define MAX_DAIS 2 /* APB1, APB2 */
1917

‎drivers/staging/greybus/audio_gb.c‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@
55
* Copyright 2015-2016 Google Inc.
66
*/
77

8-
#include "greybus.h"
9-
#include "greybus_protocols.h"
10-
#include "operation.h"
8+
#include <linux/greybus.h>
119
#include "audio_codec.h"
1210

1311
/* TODO: Split into separate calls */

‎drivers/staging/greybus/authentication.c‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
* Copyright 2016 Linaro Ltd.
77
*/
88

9-
#include "greybus.h"
10-
9+
#include <linux/greybus.h>
1110
#include <linux/cdev.h>
1211
#include <linux/fs.h>
1312
#include <linux/ioctl.h>

‎drivers/staging/greybus/bootrom.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
#include <linux/jiffies.h>
1111
#include <linux/mutex.h>
1212
#include <linux/workqueue.h>
13+
#include <linux/greybus.h>
1314

14-
#include "greybus.h"
1515
#include "firmware.h"
1616

1717
/* Timeout, in jiffies, within which the next request must be received */

‎drivers/staging/greybus/bundle.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Copyright 2014-2015 Linaro Ltd.
77
*/
88

9-
#include "greybus.h"
9+
#include <linux/greybus.h>
1010
#include "greybus_trace.h"
1111

1212
static ssize_t bundle_class_show(struct device *dev,

‎drivers/staging/greybus/camera.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
#include <linux/string.h>
1515
#include <linux/uaccess.h>
1616
#include <linux/vmalloc.h>
17+
#include <linux/greybus.h>
1718

1819
#include "gb-camera.h"
19-
#include "greybus.h"
2020
#include "greybus_protocols.h"
2121

2222
enum gb_camera_debugs_buffer_id {

‎drivers/staging/greybus/connection.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
*/
88

99
#include <linux/workqueue.h>
10+
#include <linux/greybus.h>
1011

11-
#include "greybus.h"
1212
#include "greybus_trace.h"
1313

1414
#define GB_CONNECTION_CPORT_QUIESCE_TIMEOUT 1000

‎drivers/staging/greybus/control.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#include <linux/kernel.h>
1010
#include <linux/module.h>
1111
#include <linux/slab.h>
12-
#include "greybus.h"
12+
#include <linux/greybus.h>
1313

1414
/* Highest control-protocol version supported */
1515
#define GB_CONTROL_VERSION_MAJOR 0

0 commit comments

Comments
 (0)