Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
712d6591
Commit
712d6591
authored
Sep 01, 2014
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
greybus: greybus.h: tiny movement around
parent
3772f161
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
17 deletions
+17
-17
drivers/staging/greybus/greybus.h
drivers/staging/greybus/greybus.h
+17
-17
No files found.
drivers/staging/greybus/greybus.h
View file @
712d6591
...
...
@@ -102,23 +102,6 @@ struct greybus_device {
};
#define to_greybus_device(d) container_of(d, struct greybus_device, dev)
/*
* Because we are allocating a data structure per "type" in the greybus device,
* we have static functions for this, not "dynamic" drivers like we really
* should in the end.
*/
int
gb_i2c_probe
(
struct
greybus_device
*
gdev
,
const
struct
greybus_device_id
*
id
);
void
gb_i2c_disconnect
(
struct
greybus_device
*
gdev
);
int
gb_gpio_probe
(
struct
greybus_device
*
gdev
,
const
struct
greybus_device_id
*
id
);
void
gb_gpio_disconnect
(
struct
greybus_device
*
gdev
);
int
gb_sdio_probe
(
struct
greybus_device
*
gdev
,
const
struct
greybus_device_id
*
id
);
void
gb_sdio_disconnect
(
struct
greybus_device
*
gdev
);
int
gb_tty_probe
(
struct
greybus_device
*
gdev
,
const
struct
greybus_device_id
*
id
);
void
gb_tty_disconnect
(
struct
greybus_device
*
gdev
);
int
gb_tty_init
(
void
);
void
gb_tty_exit
(
void
);
struct
gbuf
*
greybus_alloc_gbuf
(
struct
greybus_device
*
gdev
,
struct
cport
*
cport
,
gfp_t
mem_flags
);
...
...
@@ -185,6 +168,23 @@ void gb_thread_destroy(void);
int
gb_debugfs_init
(
void
);
void
gb_debugfs_cleanup
(
void
);
/*
* Because we are allocating a data structure per "type" in the greybus device,
* we have static functions for this, not "dynamic" drivers like we really
* should in the end.
*/
int
gb_i2c_probe
(
struct
greybus_device
*
gdev
,
const
struct
greybus_device_id
*
id
);
void
gb_i2c_disconnect
(
struct
greybus_device
*
gdev
);
int
gb_gpio_probe
(
struct
greybus_device
*
gdev
,
const
struct
greybus_device_id
*
id
);
void
gb_gpio_disconnect
(
struct
greybus_device
*
gdev
);
int
gb_sdio_probe
(
struct
greybus_device
*
gdev
,
const
struct
greybus_device_id
*
id
);
void
gb_sdio_disconnect
(
struct
greybus_device
*
gdev
);
int
gb_tty_probe
(
struct
greybus_device
*
gdev
,
const
struct
greybus_device_id
*
id
);
void
gb_tty_disconnect
(
struct
greybus_device
*
gdev
);
int
gb_tty_init
(
void
);
void
gb_tty_exit
(
void
);
#endif
/* __KERNEL__ */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment