[PATCH] Fix ide-disk.c oops caused by hwif == NULL
authorChristoph Lameter <christoph@lameter.com>
Wed, 10 Aug 2005 02:59:21 +0000 (19:59 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 10 Aug 2005 03:21:31 +0000 (20:21 -0700)
commit86b3786078d63242d3194ffc58ae8dae1d1bbef3
tree518f62158f0923573decb8f072ac7282fb7575cb
parentaeb3f76350e78aba90653b563de6677b442d21d6
[PATCH] Fix ide-disk.c oops caused by hwif == NULL

1. Move hwif_to_node to ide.h

2. Use hwif_to_node in ide-disk.c

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/ide/ide-disk.c
drivers/ide/ide-probe.c
include/linux/ide.h