summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJuergen Beisert <jbe@pengutronix.de>2009-12-15 11:32:02 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2009-12-15 11:32:02 +0100
commitdac84c7b9d67c2f831adb53a41f53a9f7330acdb (patch)
tree4e6e7ad95e421fd8e0f4a7eb1771b7391f8f1f1f /include
parentf3d6e2f8f93b6f0d9b8ca68bc7978ea3036636be (diff)
downloadbarebox-dac84c7b9d67c2f831adb53a41f53a9f7330acdb.tar.gz
barebox-dac84c7b9d67c2f831adb53a41f53a9f7330acdb.tar.xz
documentation updates
Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/i2c/i2c.h4
-rw-r--r--include/linux/mtd/mtd-abi.h4
-rw-r--r--include/linux/mtd/mtd.h4
-rw-r--r--include/linux/mtd/nand.h4
-rw-r--r--include/spi/spi.h4
-rw-r--r--include/ubi-media.h4
-rw-r--r--include/usb/ch9.h4
-rw-r--r--include/usb/composite.h4
-rw-r--r--include/usb/gadget.h4
-rw-r--r--include/usb/usb.h4
10 files changed, 40 insertions, 0 deletions
diff --git a/include/i2c/i2c.h b/include/i2c/i2c.h
index 5447a79bfe..991dd5b9f4 100644
--- a/include/i2c/i2c.h
+++ b/include/i2c/i2c.h
@@ -16,6 +16,8 @@
#ifndef I2C_I2C_H
#define I2C_I2C_H
+#ifndef DOXYGEN_SHOULD_SKIP_THIS
+
/*
* struct i2c_platform_data - structure of platform data for MXC I2C driver
* @param bitrate Bus speed measured in Hz
@@ -121,4 +123,6 @@ extern int i2c_master_recv(struct i2c_client *client, char *buf, int count);
extern int i2c_read_reg(struct i2c_client *client, u32 addr, u8 *buf, u16 count);
extern int i2c_write_reg(struct i2c_client *client, u32 addr, const u8 *buf, u16 count);
+#endif /* DOXYGEN_SHOULD_SKIP_THIS */
+
#endif /* I2C_I2C_H */
diff --git a/include/linux/mtd/mtd-abi.h b/include/linux/mtd/mtd-abi.h
index a20fc297d5..04b422792f 100644
--- a/include/linux/mtd/mtd-abi.h
+++ b/include/linux/mtd/mtd-abi.h
@@ -7,6 +7,8 @@
#ifndef __MTD_ABI_H__
#define __MTD_ABI_H__
+#ifndef DOXYGEN_SHOULD_SKIP_THIS
+
struct erase_info_user {
uint32_t start;
uint32_t length;
@@ -149,4 +151,6 @@ enum mtd_file_modes {
MTD_MODE_RAW,
};
+#endif /* DOXYGEN_SHOULD_SKIP_THIS */
+
#endif /* __MTD_ABI_H__ */
diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h
index 42bfcabda0..ca98a16a38 100644
--- a/include/linux/mtd/mtd.h
+++ b/include/linux/mtd/mtd.h
@@ -9,6 +9,8 @@
#ifndef __MTD_MTD_H__
#define __MTD_MTD_H__
+#ifndef DOXYGEN_SHOULD_SKIP_THIS
+
#include <driver.h>
#include <linux/types.h>
#include <linux/list.h>
@@ -260,4 +262,6 @@ static inline void mtd_erase_callback(struct erase_info *instr)
#endif /* CONFIG_MTD_DEBUG */
+#endif /* DOXYGEN_SHOULD_SKIP_THIS */
+
#endif /* __MTD_MTD_H__ */
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
index 811a31fcea..cb35fd2000 100644
--- a/include/linux/mtd/nand.h
+++ b/include/linux/mtd/nand.h
@@ -20,6 +20,8 @@
#ifndef __LINUX_MTD_NAND_H
#define __LINUX_MTD_NAND_H
+#ifndef DOXYGEN_SHOULD_SKIP_THIS
+
#include <linux/mtd/mtd.h>
struct mtd_info;
@@ -611,4 +613,6 @@ struct platform_nand_chip *get_platform_nandchip(struct mtd_info *mtd)
return chip->priv;
}
+#endif /* DOXYGEN_SHOULD_SKIP_THIS */
+
#endif /* __LINUX_MTD_NAND_H */
diff --git a/include/spi/spi.h b/include/spi/spi.h
index 36698e6a17..8dce8dbd2b 100644
--- a/include/spi/spi.h
+++ b/include/spi/spi.h
@@ -1,6 +1,8 @@
#ifndef __INCLUDE_SPI_H
#define __INCLUDE_SPI_H
+#ifndef DOXYGEN_SHOULD_SKIP_THIS
+
#include <driver.h>
struct spi_board_info {
@@ -347,4 +349,6 @@ static inline int spi_register_board_info(struct spi_board_info const *info,
}
#endif
+#endif /* DOXYGEN_SHOULD_SKIP_THIS */
+
#endif /* __INCLUDE_SPI_H */
diff --git a/include/ubi-media.h b/include/ubi-media.h
index daead705fb..10490fdb16 100644
--- a/include/ubi-media.h
+++ b/include/ubi-media.h
@@ -30,6 +30,8 @@
#ifndef __UBI_MEDIA_H__
#define __UBI_MEDIA_H__
+#ifndef DOXYGEN_SHOULD_SKIP_THIS
+
#include <asm/byteorder.h>
/* The version of UBI images supported by this implementation */
@@ -365,5 +367,7 @@ struct ubi_vtbl_record {
__be32 crc;
} __attribute__ ((packed));
+#endif /* DOXYGEN_SHOULD_SKIP_THIS */
+
#endif /* !__UBI_MEDIA_H__ */
diff --git a/include/usb/ch9.h b/include/usb/ch9.h
index 93223638f7..adbe53341b 100644
--- a/include/usb/ch9.h
+++ b/include/usb/ch9.h
@@ -33,6 +33,8 @@
#ifndef __LINUX_USB_CH9_H
#define __LINUX_USB_CH9_H
+#ifndef DOXYGEN_SHOULD_SKIP_THIS
+
#include <linux/types.h> /* __u8 etc */
/*-------------------------------------------------------------------------*/
@@ -796,4 +798,6 @@ enum usb_device_state {
*/
};
+#endif /* DOXYGEN_SHOULD_SKIP_THIS */
+
#endif /* __LINUX_USB_CH9_H */
diff --git a/include/usb/composite.h b/include/usb/composite.h
index 5f7a75dbe6..cf1c9f3d97 100644
--- a/include/usb/composite.h
+++ b/include/usb/composite.h
@@ -21,6 +21,8 @@
#ifndef __LINUX_USB_COMPOSITE_H
#define __LINUX_USB_COMPOSITE_H
+#ifndef DOXYGEN_SHOULD_SKIP_THIS
+
/*
* This framework is an optional layer on top of the USB Gadget interface,
* making it easier to build (a) Composite devices, supporting multiple
@@ -345,4 +347,6 @@ extern int usb_string_id(struct usb_composite_dev *c);
#define WARNING(d, fmt, args...)
#define INFO(d, fmt, args...)
+#endif /* DOXYGEN_SHOULD_SKIP_THIS */
+
#endif /* __LINUX_USB_COMPOSITE_H */
diff --git a/include/usb/gadget.h b/include/usb/gadget.h
index 798b51b3ce..ff1509ca79 100644
--- a/include/usb/gadget.h
+++ b/include/usb/gadget.h
@@ -15,6 +15,8 @@
#ifndef __LINUX_USB_GADGET_H
#define __LINUX_USB_GADGET_H
+#ifndef DOXYGEN_SHOULD_SKIP_THIS
+
#include <usb/ch9.h>
#include <malloc.h>
#include <errno.h>
@@ -897,4 +899,6 @@ extern struct usb_ep *usb_ep_autoconfig(struct usb_gadget *,
extern void usb_ep_autoconfig_reset(struct usb_gadget *);
+#endif /* DOXYGEN_SHOULD_SKIP_THIS */
+
#endif /* __LINUX_USB_GADGET_H */
diff --git a/include/usb/usb.h b/include/usb/usb.h
index 26c355f524..790d64da73 100644
--- a/include/usb/usb.h
+++ b/include/usb/usb.h
@@ -26,6 +26,8 @@
#ifndef _USB_H_
#define _USB_H_
+#ifndef DOXYGEN_SHOULD_SKIP_THIS
+
#include <driver.h>
#include <usb/usb_defs.h>
@@ -492,4 +494,6 @@ struct usb_device_id {
#define USB_CTRL_SET_TIMEOUT 5000
#define USB_CTRL_GET_TIMEOUT 5000
+#endif /* DOXYGEN_SHOULD_SKIP_THIS */
+
#endif /*_USB_H_ */