X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/663af573eb897f7df39e85a652cd4f7cfb834f29..93f668f049e4d47cd3c4d4e737038fb7655300dd:/target/linux/adm5120/patches-2.6.23/120-cf.patch diff --git a/target/linux/adm5120/patches-2.6.23/120-cf.patch b/target/linux/adm5120/patches-2.6.23/120-cf.patch index cbfe42d6c..6a4165130 100644 --- a/target/linux/adm5120/patches-2.6.23/120-cf.patch +++ b/target/linux/adm5120/patches-2.6.23/120-cf.patch @@ -7,7 +7,7 @@ Index: linux-2.6.23/drivers/block/Kconfig module will be called z2ram. +config BLK_DEV_CF_MIPS -+ bool "CF slot of RB153 board" ++ tristate "CF slot of RB153 board" + depends on MIPS_ADM5120 + default y + help @@ -29,3 +29,15 @@ Index: linux-2.6.23/drivers/block/Makefile obj-$(CONFIG_AMIGA_FLOPPY) += amiflop.o obj-$(CONFIG_PS3_DISK) += ps3disk.o obj-$(CONFIG_ATARI_FLOPPY) += ataflop.o +diff --git a/fs/partitions/check.c b/fs/partitions/check.c +index 722e12e..60af038 100644 +--- a/fs/partitions/check.c ++++ b/fs/partitions/check.c +@@ -526,6 +526,7 @@ exit: + kobject_uevent(&p->kobj, KOBJ_ADD); + } + } ++EXPORT_SYMBOL(register_disk); + + int rescan_partitions(struct gendisk *disk, struct block_device *bdev) + {