Staging
v0.6.0
https://github.com/torvalds/linux
Revision 603a0e2c0a160ad8c2d00d71a700bb95482be5de authored by Bartlomiej Zolnierkiewicz on 03 July 2007, 20:28:35 UTC, committed by Bartlomiej Zolnierkiewicz on 03 July 2007, 20:28:35 UTC
* Driver can't skip programming transfer mode on the device in amd_set_drive()
  (similar fix has been applied to via82cxxx driver ages ago).

* While at it remove redundant warning (ide_config_drive_speed() already
  produces more valuable one).

* Bump driver version.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
1 parent 96dcc08
Raw File
Tip revision: 603a0e2c0a160ad8c2d00d71a700bb95482be5de authored by Bartlomiej Zolnierkiewicz on 03 July 2007, 20:28:35 UTC
amd74xx: resume fix
Tip revision: 603a0e2
no-block.c
/* no-block.c: implementation of routines required for non-BLOCK configuration
 *
 * Copyright (C) 2006 Red Hat, Inc. All Rights Reserved.
 * Written by David Howells (dhowells@redhat.com)
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version
 * 2 of the License, or (at your option) any later version.
 */

#include <linux/kernel.h>
#include <linux/fs.h>

static int no_blkdev_open(struct inode * inode, struct file * filp)
{
	return -ENODEV;
}

const struct file_operations def_blk_fops = {
	.open		= no_blkdev_open,
};
back to top