Commit 23237a43 authored by Linus Torvalds's avatar Linus Torvalds

Fix up devfs handling for when it is disabled.

parent 2022f446
......@@ -39,10 +39,10 @@
typedef struct devfs_entry * devfs_handle_t;
extern void devfs_remove(const char *fmt, ...) __attribute__((format (printf, 1, 2)));
#ifdef CONFIG_DEVFS_FS
extern void devfs_remove(const char *fmt, ...) __attribute__((format (printf, 1, 2)));
struct unique_numspace
{
spinlock_t init_lock;
......
......@@ -29,9 +29,7 @@
#include <sound/info.h>
#include <sound/version.h>
#include <linux/proc_fs.h>
#ifdef CONFIG_DEVFS_FS
#include <linux/devfs_fs_kernel.h>
#endif
#include <stdarg.h>
/*
......
......@@ -30,9 +30,7 @@
#include <sound/control.h>
#include <sound/initval.h>
#include <linux/kmod.h>
#ifdef CONFIG_DEVFS_FS
#include <linux/devfs_fs_kernel.h>
#endif
#define SNDRV_OS_MINORS 256
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment