[POWERPC] Build fix for drivers/macintosh/mediabay.c
authorAdrian Bunk <bunk@kernel.org>
Tue, 10 Jun 2008 17:47:45 +0000 (03:47 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 16 Jun 2008 05:00:47 +0000 (15:00 +1000)
commit305c73687157d677bee6f2a5dbee438d844a028c
treebe91e711074389f3238ca44446b3de6878840521
parent8e01520c06c65a1a376059199fc24d4f3d606991
[POWERPC] Build fix for drivers/macintosh/mediabay.c

This fixes the following build error with CONFIG_BLK_DEV_IDE_PMAC=n:

<--  snip  -->

...
  CC      drivers/macintosh/mediabay.o
/home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/macintosh/mediabay.c: In function 'check_media_bay':
/home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/macintosh/mediabay.c:428: error: 'struct media_bay_info' has no member named 'cd_index'
make[3]: *** [drivers/macintosh/mediabay.o] Error 1

<--  snip  -->

Reported-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
drivers/macintosh/mediabay.c
include/asm-powerpc/mediabay.h