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
293c14d9
Commit
293c14d9
authored
Oct 30, 2002
by
Patrick Mochel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
driver model: remove few remaining references to driverfs.
parent
69a304e3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
10 deletions
+0
-10
drivers/base/fs/device.c
drivers/base/fs/device.c
+0
-5
drivers/base/fs/fs.h
drivers/base/fs/fs.h
+0
-2
include/linux/device.h
include/linux/device.h
+0
-3
No files found.
drivers/base/fs/device.c
View file @
293c14d9
...
...
@@ -47,8 +47,3 @@ void fill_devpath(struct device * dev, char * path, int length)
pr_debug
(
"%s: path = '%s'
\n
"
,
__FUNCTION__
,
path
);
}
void
device_remove_symlink
(
struct
driver_dir_entry
*
dir
,
const
char
*
name
)
{
driverfs_remove_file
(
dir
,
name
);
}
drivers/base/fs/fs.h
View file @
293c14d9
extern
int
device_create_dir
(
struct
driver_dir_entry
*
dir
,
struct
driver_dir_entry
*
parent
);
int
get_devpath_length
(
struct
device
*
dev
);
void
fill_devpath
(
struct
device
*
dev
,
char
*
path
,
int
length
);
...
...
include/linux/device.h
View file @
293c14d9
...
...
@@ -28,7 +28,6 @@
#include <linux/ioport.h>
#include <linux/list.h>
#include <linux/sched.h>
#include <linux/driverfs_fs.h>
#include <linux/kobject.h>
#define DEVICE_NAME_SIZE 80
...
...
@@ -284,8 +283,6 @@ struct device {
* persists for the right amount of time */
struct
bus_type
*
bus
;
/* type of bus device is on */
struct
driver_dir_entry
dir
;
struct
device_driver
*
driver
;
/* which driver has allocated this
device */
void
*
driver_data
;
/* data private to the driver */
...
...
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