diff options
author | Sergei Shtylyov <sshtylyov@ru.mvista.com> | 2009-03-31 14:15:33 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-31 14:15:33 -0400 |
commit | fdd88f0af616db59a6a36bdf0185181d2b779f53 (patch) | |
tree | 9e0acaddc49f7354430457b07ee0a94757bbc314 /drivers/ide/ns87415.c | |
parent | abb596b25edac1ec1acc4ef53df190771661c3d2 (diff) |
ide: inline SELECT_DRIVE()
Since SELECT_DRIVE() has boiled down to a mere dev_select() method call, it now
makes sense to just inline it...
Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ns87415.c')
-rw-r--r-- | drivers/ide/ns87415.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ns87415.c b/drivers/ide/ns87415.c index af1b421eb450..71a39fb3856f 100644 --- a/drivers/ide/ns87415.c +++ b/drivers/ide/ns87415.c | |||
@@ -262,7 +262,7 @@ static void __devinit init_hwif_ns87415 (ide_hwif_t *hwif) | |||
262 | #ifdef __sparc_v9__ | 262 | #ifdef __sparc_v9__ |
263 | /* | 263 | /* |
264 | * XXX: Reset the device, if we don't it will not respond to | 264 | * XXX: Reset the device, if we don't it will not respond to |
265 | * SELECT_DRIVE() properly during first ide_probe_port(). | 265 | * dev_select() properly during first ide_probe_port(). |
266 | */ | 266 | */ |
267 | timeout = 10000; | 267 | timeout = 10000; |
268 | outb(12, hwif->io_ports.ctl_addr); | 268 | outb(12, hwif->io_ports.ctl_addr); |