Update for block device API change.

This commit is contained in:
Thomas Doerfler
2009-10-16 07:44:34 +00:00
parent b07eae7b97
commit fdaa135479
2 changed files with 6 additions and 2 deletions
+4
View File
@@ -1,3 +1,7 @@
2009-10-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
* smc/smc.c: Update for block device API change.
2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* make/custom/gp32.cfg: New (relocated from /make/custom).
+2 -2
View File
@@ -589,7 +589,7 @@ smc_read(rtems_blkdev_request *req)
* IOCTL return value
*/
static int
smc_ioctl(dev_t dev, uint32_t req, void *argp)
smc_ioctl(rtems_disk_device *dd, uint32_t req, void *argp)
{
switch (req)
{
@@ -646,7 +646,7 @@ smc_initialize(
dev = rtems_filesystem_make_dev_t(major, 0);
rc = rtems_disk_create_phys(dev, 512, block_num,
smc_ioctl, SMC_DEVICE_NAME);
smc_ioctl, NULL, SMC_DEVICE_NAME);
return RTEMS_SUCCESSFUL;
}