• Bartlomiej Zolnierkiewicz's avatar
    mediabay: fix build for CONFIG_BLOCK=n · 83cff839
    Bartlomiej Zolnierkiewicz authored
    On Tuesday 14 April 2009 20:31:21 Subrata Modak wrote:
    > Observed the following build error:
    > ---
    > CC      drivers/macintosh/mediabay.o
    > In file included from drivers/macintosh/mediabay.c:21:
    > include/linux/ide.h:605: error: field ‘request_sense_rq’ has incomplete
    > type
    > make[2]: *** [drivers/macintosh/mediabay.o] Error 1
    > make[1]: *** [drivers/macintosh] Error 2
    > make: *** [drivers] Error 2
    > ---
    
    mediabay shouldn't include <linux/ide.h> unconditionally so
    remove the superfluous include from mediabay.c (<asm/mediabay.h>
    will pull <linux/ide.h> in for CONFIG_BLK_DEV_IDE_PMAC=y).
    Reported-by: default avatarSubrata Modak <subrata@linux.vnet.ibm.com>
    Cc: Paul Mackerras <paulus@samba.org>
    Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
    83cff839
Name
Last commit
Last update
Documentation Loading commit data...
arch Loading commit data...
block Loading commit data...
crypto Loading commit data...
drivers Loading commit data...
firmware Loading commit data...
fs Loading commit data...
include Loading commit data...
init Loading commit data...
ipc Loading commit data...
kernel Loading commit data...
lib Loading commit data...
mm Loading commit data...
net Loading commit data...
samples Loading commit data...
scripts Loading commit data...
security Loading commit data...
sound Loading commit data...
usr Loading commit data...
virt/kvm Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
Kbuild Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README Loading commit data...
REPORTING-BUGS Loading commit data...