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
6779997d
Commit
6779997d
authored
Sep 21, 2014
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
greybus: core.c: create empty functions to keep linking working for hotplug/remove
parent
85e0066c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
drivers/staging/greybus/core.c
drivers/staging/greybus/core.c
+10
-0
No files found.
drivers/staging/greybus/core.c
View file @
6779997d
...
...
@@ -346,6 +346,11 @@ static int create_cport(struct greybus_device *gdev,
* Pass in a buffer that _should_ contain a Greybus module manifest
* and spit out a greybus device structure.
*/
void
gb_add_module
(
struct
greybus_host_device
*
hd
,
u8
module_id
,
u8
*
data
)
{
// FIXME - should be the new module call...
}
struct
greybus_device
*
greybus_new_module
(
struct
device
*
parent
,
int
module_number
,
u8
*
data
,
int
size
)
{
...
...
@@ -466,6 +471,11 @@ struct greybus_device *greybus_new_module(struct device *parent,
return
NULL
;
}
void
gb_remove_module
(
struct
greybus_host_device
*
hd
,
u8
module_id
)
{
// FIXME should be the remove_device call...
}
void
greybus_remove_device
(
struct
greybus_device
*
gdev
)
{
/* tear down all of the "sub device types" for this device */
...
...
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