X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=drivers%2Fblock%2Frd.c;h=a3f64bfe6b5870eb52229cdd9e9dd36fd6289aaf;hb=a12f66fccf2e266ad197df142b5ebafc6a169a8c;hp=a9e1c2524c2a9c99b93b36c544e716eb299cdc7f;hpb=d120cfb544ed6161b9d32fb6c4648c471807ee6b;p=mv-sheeva.git diff --git a/drivers/block/rd.c b/drivers/block/rd.c index a9e1c2524c2..a3f64bfe6b5 100644 --- a/drivers/block/rd.c +++ b/drivers/block/rd.c @@ -42,7 +42,6 @@ * and set blk_size for -ENOSPC, Werner Fink , Apr '99 */ -#include #include #include #include @@ -85,7 +84,7 @@ int rd_size = CONFIG_BLK_DEV_RAM_SIZE; /* Size of the RAM disks */ * behaviour. The default is still BLOCK_SIZE (needed by rd_load_image that * supposes the filesystem in the image uses a BLOCK_SIZE blocksize). */ -static int rd_blocksize = BLOCK_SIZE; /* blocksize of the RAM disks */ +static int rd_blocksize = CONFIG_BLK_DEV_RAM_BLOCKSIZE; /* * Copyright (C) 2000 Linus Torvalds.