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>
This commit is contained in:
Greg Kroah-Hartman
2019-08-27 19:02:59 +02:00
parent 9c31973907
commit ec0ad86817
53 changed files with 52 additions and 71 deletions
+1 -1
View File
@@ -19,8 +19,8 @@
#include <linux/irq.h>
#include <linux/suspend.h>
#include <linux/time.h>
#include <linux/greybus.h>
#include "arche_platform.h"
#include "greybus.h"
#if IS_ENABLED(CONFIG_USB_HSIC_USB3613)
#include <linux/usb/usb3613.h>
+1 -2
View File
@@ -5,8 +5,7 @@
* Copyright 2015-2016 Google Inc.
*/
#include "greybus.h"
#include "greybus_protocols.h"
#include <linux/greybus.h>
#include "audio_apbridgea.h"
#include "audio_codec.h"
+1 -3
View File
@@ -8,12 +8,10 @@
#ifndef __LINUX_GBAUDIO_CODEC_H
#define __LINUX_GBAUDIO_CODEC_H
#include <linux/greybus.h>
#include <sound/soc.h>
#include <sound/jack.h>
#include "greybus.h"
#include "greybus_protocols.h"
#define NAME_SIZE 32
#define MAX_DAIS 2 /* APB1, APB2 */
+1 -3
View File
@@ -5,9 +5,7 @@
* Copyright 2015-2016 Google Inc.
*/
#include "greybus.h"
#include "greybus_protocols.h"
#include "operation.h"
#include <linux/greybus.h>
#include "audio_codec.h"
/* TODO: Split into separate calls */
+1 -2
View File
@@ -6,8 +6,7 @@
* Copyright 2016 Linaro Ltd.
*/
#include "greybus.h"
#include <linux/greybus.h>
#include <linux/cdev.h>
#include <linux/fs.h>
#include <linux/ioctl.h>
+1 -1
View File
@@ -10,8 +10,8 @@
#include <linux/jiffies.h>
#include <linux/mutex.h>
#include <linux/workqueue.h>
#include <linux/greybus.h>
#include "greybus.h"
#include "firmware.h"
/* Timeout, in jiffies, within which the next request must be received */
+1 -1
View File
@@ -6,7 +6,7 @@
* Copyright 2014-2015 Linaro Ltd.
*/
#include "greybus.h"
#include <linux/greybus.h>
#include "greybus_trace.h"
static ssize_t bundle_class_show(struct device *dev,
+1 -1
View File
@@ -14,9 +14,9 @@
#include <linux/string.h>
#include <linux/uaccess.h>
#include <linux/vmalloc.h>
#include <linux/greybus.h>
#include "gb-camera.h"
#include "greybus.h"
#include "greybus_protocols.h"
enum gb_camera_debugs_buffer_id {
+1 -1
View File
@@ -7,8 +7,8 @@
*/
#include <linux/workqueue.h>
#include <linux/greybus.h>
#include "greybus.h"
#include "greybus_trace.h"
#define GB_CONNECTION_CPORT_QUIESCE_TIMEOUT 1000
+1 -1
View File
@@ -9,7 +9,7 @@
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include "greybus.h"
#include <linux/greybus.h>
/* Highest control-protocol version supported */
#define GB_CONTROL_VERSION_MAJOR 0
+1 -1
View File
@@ -9,7 +9,7 @@
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#define CREATE_TRACE_POINTS
#include "greybus.h"
#include <linux/greybus.h>
#include "greybus_trace.h"
#define GB_BUNDLE_AUTOSUSPEND_MS 3000
+1 -2
View File
@@ -7,8 +7,7 @@
*/
#include <linux/debugfs.h>
#include "greybus.h"
#include <linux/greybus.h>
static struct dentry *gb_debug_root;
+1 -2
View File
@@ -11,12 +11,11 @@
#include <linux/kfifo.h>
#include <linux/debugfs.h>
#include <linux/list.h>
#include <linux/greybus.h>
#include <asm/unaligned.h>
#include "arpc.h"
#include "greybus.h"
#include "greybus_trace.h"
#include "connection.h"
/* Default timeout for USB vendor requests. */
+1 -1
View File
@@ -9,7 +9,7 @@
#ifndef __FIRMWARE_H
#define __FIRMWARE_H
#include "greybus.h"
#include <linux/greybus.h>
#define FW_NAME_PREFIX "gmp_"
+1 -1
View File
@@ -8,8 +8,8 @@
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/firmware.h>
#include <linux/greybus.h>
#include "firmware.h"
#include "greybus.h"
#include "spilib.h"
struct gb_fw_core {
+1 -1
View File
@@ -10,8 +10,8 @@
#include <linux/jiffies.h>
#include <linux/mutex.h>
#include <linux/workqueue.h>
#include <linux/greybus.h>
#include "firmware.h"
#include "greybus.h"
/* Estimated minimum buffer size, actual size can be smaller than this */
#define MIN_FETCH_SIZE 512
+1 -1
View File
@@ -13,10 +13,10 @@
#include <linux/idr.h>
#include <linux/ioctl.h>
#include <linux/uaccess.h>
#include <linux/greybus.h>
#include "firmware.h"
#include "greybus_firmware.h"
#include "greybus.h"
#define FW_MGMT_TIMEOUT_MS 1000
+1 -1
View File
@@ -13,8 +13,8 @@
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/device.h>
#include <linux/greybus.h>
#include "greybus.h"
#include "gbphy.h"
#define GB_GBPHY_AUTOSUSPEND_MS 3000
+1 -1
View File
@@ -13,8 +13,8 @@
#include <linux/irqdomain.h>
#include <linux/gpio/driver.h>
#include <linux/mutex.h>
#include <linux/greybus.h>
#include "greybus.h"
#include "gbphy.h"
struct gb_gpio_line {
+1 -1
View File
@@ -8,8 +8,8 @@
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/greybus.h>
#include "greybus.h"
#include "greybus_trace.h"
EXPORT_TRACEPOINT_SYMBOL_GPL(gb_hd_create);

Some files were not shown because too many files have changed in this diff Show More