[PATCH] ata.h undefined types in USB

From: Meelis Roos
Date: Sat Nov 06 2004 - 09:56:18 EST


This is todays BK on a x86:

CC [M] drivers/usb/storage/freecom.o
In file included from include/linux/hdreg.h:4,
from drivers/usb/storage/freecom.c:32:
include/linux/ata.h:197: error: parse error before "u32"
...
and so on for tens of lines.

The following patch helps here because ata.h uses these types:

===== include/linux/ata.h 1.19 vs edited =====
--- 1.19/include/linux/ata.h 2004-11-02 21:32:44 +02:00
+++ edited/include/linux/ata.h 2004-11-06 16:47:08 +02:00
@@ -24,6 +24,8 @@
#ifndef __LINUX_ATA_H__
#define __LINUX_ATA_H__

+#include <linux/types.h>
+
/* defines only for the constants which don't work well as enums */
#define ATA_DMA_BOUNDARY 0xffffUL
#define ATA_DMA_MASK 0xffffffffULL


--
Meelis Roos (mroos@xxxxxxxx)


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/