Bartlomiej Zolnierkiewicz 83cff83926 mediabay: fix build for CONFIG_BLOCK=n
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: Subrata Modak <subrata@linux.vnet.ibm.com>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2009-04-22 20:33:41 +02:00
..
2009-04-17 10:50:27 -07:00
2009-04-13 15:04:34 -07:00
2009-04-13 15:04:29 -07:00
2009-04-16 08:51:52 -07:00
2009-04-17 10:50:27 -07:00
2009-03-30 21:55:25 +10:30
2009-04-17 10:50:27 -07:00
2009-04-05 00:32:25 +02:00
2009-04-13 15:04:33 -07:00
2009-04-01 08:59:23 -07:00
2009-04-14 19:46:19 -07:00
2009-03-27 20:13:20 -04:00
2009-04-17 11:06:31 -07:00
2009-04-13 15:04:32 -07:00
2009-04-05 00:32:22 +02:00
2009-04-08 14:25:51 -07:00