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
23237a43
Commit
23237a43
authored
Nov 17, 2002
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix up devfs handling for when it is disabled.
parent
2022f446
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
6 deletions
+2
-6
include/linux/devfs_fs_kernel.h
include/linux/devfs_fs_kernel.h
+2
-2
sound/core/info.c
sound/core/info.c
+0
-2
sound/core/sound.c
sound/core/sound.c
+0
-2
No files found.
include/linux/devfs_fs_kernel.h
View file @
23237a43
...
@@ -39,10 +39,10 @@
...
@@ -39,10 +39,10 @@
typedef
struct
devfs_entry
*
devfs_handle_t
;
typedef
struct
devfs_entry
*
devfs_handle_t
;
extern
void
devfs_remove
(
const
char
*
fmt
,
...)
__attribute__
((
format
(
printf
,
1
,
2
)));
#ifdef CONFIG_DEVFS_FS
#ifdef CONFIG_DEVFS_FS
extern
void
devfs_remove
(
const
char
*
fmt
,
...)
__attribute__
((
format
(
printf
,
1
,
2
)));
struct
unique_numspace
struct
unique_numspace
{
{
spinlock_t
init_lock
;
spinlock_t
init_lock
;
...
...
sound/core/info.c
View file @
23237a43
...
@@ -29,9 +29,7 @@
...
@@ -29,9 +29,7 @@
#include <sound/info.h>
#include <sound/info.h>
#include <sound/version.h>
#include <sound/version.h>
#include <linux/proc_fs.h>
#include <linux/proc_fs.h>
#ifdef CONFIG_DEVFS_FS
#include <linux/devfs_fs_kernel.h>
#include <linux/devfs_fs_kernel.h>
#endif
#include <stdarg.h>
#include <stdarg.h>
/*
/*
...
...
sound/core/sound.c
View file @
23237a43
...
@@ -30,9 +30,7 @@
...
@@ -30,9 +30,7 @@
#include <sound/control.h>
#include <sound/control.h>
#include <sound/initval.h>
#include <sound/initval.h>
#include <linux/kmod.h>
#include <linux/kmod.h>
#ifdef CONFIG_DEVFS_FS
#include <linux/devfs_fs_kernel.h>
#include <linux/devfs_fs_kernel.h>
#endif
#define SNDRV_OS_MINORS 256
#define SNDRV_OS_MINORS 256
...
...
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