Commit ba867219 authored by Tom Rini's avatar Tom Rini

[PATCH] Fix RAMDISK config problem

The following fixes compilation with CONFIG_BLK_DEV_RAM=y I assume that
Rusty intended to use a test for CONFIG_BLK_DEV_RAM and not
BLOCK_DEV_RAM.
parent 267b59f5
...@@ -365,7 +365,7 @@ static int __init create_dev(char *name, kdev_t dev, char *devfs_name) ...@@ -365,7 +365,7 @@ static int __init create_dev(char *name, kdev_t dev, char *devfs_name)
return sys_symlink(path + n + 5, name); return sys_symlink(path + n + 5, name);
} }
#if defined(BLOCK_DEV_RAM) || defined(CONFIG_BLK_DEV_FD) #if defined(CONFIG_BLK_DEV_RAM) || defined(CONFIG_BLK_DEV_FD)
static void __init change_floppy(char *fmt, ...) static void __init change_floppy(char *fmt, ...)
{ {
struct termios termios; struct termios termios;
......
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