mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
greybus: fix connection header declarations
Changes to the create/destroy connection functions were not properly reflected in the header file. Fix that. There's also no need to include anything other than "greybus.h". Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
This commit is contained in:
parent
459164b1f4
commit
b05890db5e
1 changed files with 3 additions and 4 deletions
|
|
@ -12,7 +12,6 @@
|
|||
#include <linux/list.h>
|
||||
|
||||
#include "greybus.h"
|
||||
#include "function.h"
|
||||
|
||||
struct gb_connection {
|
||||
struct gb_function *function;
|
||||
|
|
@ -25,9 +24,9 @@ struct gb_connection {
|
|||
atomic_t op_cycle;
|
||||
};
|
||||
|
||||
bool gb_connection_setup(struct greybus_host_device *hd, u16 cport_id,
|
||||
struct gb_function *function);
|
||||
void gb_connection_teardown(struct gb_connection *connection);
|
||||
struct gb_connection *gb_connection_create(struct greybus_host_device *hd,
|
||||
u16 cport_id, struct gb_function *function);
|
||||
void gb_connection_destroy(struct gb_connection *connection);
|
||||
|
||||
u16 gb_connection_op_id(struct gb_connection *connection);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue