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
nexedi
linux
Commits
329e2f3a
Commit
329e2f3a
authored
Mar 21, 2003
by
Greg Kroah-Hartman
Committed by
Petr Vandrovec
Mar 21, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
i2c: add struct device to i2c_client structure
Not quite ready to hook it up to the driver core yet.
parent
71bcb29d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
include/linux/i2c.h
include/linux/i2c.h
+2
-1
No files found.
include/linux/i2c.h
View file @
329e2f3a
...
...
@@ -170,8 +170,9 @@ struct i2c_client {
void
*
data
;
/* for the clients */
int
usage_count
;
/* How many accesses currently */
/* to the client */
struct
device
dev
;
/* the device structure */
};
#define to_i2c_client(d) container_of(d, struct i2c_client, dev)
/*
* The following structs are for those who like to implement new bus drivers:
...
...
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