lkml.org 
[lkml]   [2008]   [Jun]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/4] ide-pmac: add ->init_dev method (take 2)
Hi Bart,

On Mon, 16 Jun 2008 21:24:47 +0200 Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> wrote:
>
> +static void pmac_ide_init_dev(ide_drive_t *drive)
> +{
> + ide_hwif_t *hwif = drive->hwif;
> + pmac_ide_hwif_t *pmif =
> + (pmac_ide_hwif_t *)dev_get_drvdata(hwif->gendev.parent);
> +
> + if (pmif->mediabay) {
> +#ifdef CONFIG_PMAC_MEDIABAY
> + if (check_media_bay(np->parent, MB_CD) == -ENODEV)
^^
"np" doesn't exist here.

--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2008-06-17 02:49    [W:0.067 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site