diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-03-04 23:34:50 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-03-04 23:34:50 +0000 |
commit | d26f46fc20573ed94ea3b0487c94eab6125afc93 (patch) | |
tree | 6b59a073b696d0656e5008c3887bcea2a8df5436 /target/linux/rb532-2.6 | |
parent | 295fbf82c4848caaf55c9c37154f97675cd8299d (diff) | |
download | upstream-d26f46fc20573ed94ea3b0487c94eab6125afc93.tar.gz upstream-d26f46fc20573ed94ea3b0487c94eab6125afc93.tar.bz2 upstream-d26f46fc20573ed94ea3b0487c94eab6125afc93.zip |
fix a compile error caused by the devfs removal
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6518 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/rb532-2.6')
-rw-r--r-- | target/linux/rb532-2.6/patches/120-cf.patch | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/target/linux/rb532-2.6/patches/120-cf.patch b/target/linux/rb532-2.6/patches/120-cf.patch index 6c61aa7071..f702753c7d 100644 --- a/target/linux/rb532-2.6/patches/120-cf.patch +++ b/target/linux/rb532-2.6/patches/120-cf.patch @@ -662,7 +662,7 @@ diff -urN linux.old/drivers/block/rb500/ata.h linux.dev/drivers/block/rb500/ata. diff -urN linux.old/drivers/block/rb500/bdev.c linux.dev/drivers/block/rb500/bdev.c --- linux.old/drivers/block/rb500/bdev.c 1970-01-01 01:00:00.000000000 +0100 +++ linux.dev/drivers/block/rb500/bdev.c 2006-10-26 00:11:14.000000000 +0200 -@@ -0,0 +1,340 @@ +@@ -0,0 +1,339 @@ +/* CF-mips driver + This is a block driver for the direct (mmaped) interface to the CF-slot, + found in Routerboard.com's RB532 board @@ -798,7 +798,6 @@ diff -urN linux.old/drivers/block/rb500/bdev.c linux.dev/drivers/block/rb500/bde + cf_gendisk->queue=dev->queue; + BUG_ON(cf_gendisk->minors != CF_MAX_PART); + strcpy(cf_gendisk->disk_name,"cfa"); -+ strcpy(cf_gendisk->devfs_name,"cf/card0"); + cf_gendisk->fops = &cf_bdops; + cf_gendisk->flags = 0 ; /* is not yet GENHD_FL_REMOVABLE */ + cf_gendisk->private_data=dev; |