diff options
| author | Marius Strobl <marius@FreeBSD.org> | 2009-06-14 00:05:38 +0000 |
|---|---|---|
| committer | Marius Strobl <marius@FreeBSD.org> | 2009-06-14 00:05:38 +0000 |
| commit | 481d6b549b172c5faea8d3b94de5a5b0ab1f5f9a (patch) | |
| tree | 6d55f50ca451267249e8300f0d3fcfa3987f7bd7 /sys/dev/ofw/ofwvar.h | |
| parent | 2c727cb9aad9f81bea953d842ccab2fd13dae896 (diff) | |
Notes
Diffstat (limited to 'sys/dev/ofw/ofwvar.h')
| -rw-r--r-- | sys/dev/ofw/ofwvar.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/sys/dev/ofw/ofwvar.h b/sys/dev/ofw/ofwvar.h index 950dded259ed6..ddaa3db097dd7 100644 --- a/sys/dev/ofw/ofwvar.h +++ b/sys/dev/ofw/ofwvar.h @@ -27,8 +27,8 @@ * $FreeBSD$ */ -#ifndef _OFW_OFWVAR_H_ -#define _OFW_OFWVAR_H_ +#ifndef _DEV_OFW_OFWVAR_H_ +#define _DEV_OFW_OFWVAR_H_ /* * An Open Firmware client implementation is declared with a kernel object and @@ -45,7 +45,7 @@ * }; * * static ofw_def_t ofw_fdt = { - * "ofw_fdt", + * "ofw_fdt", * fdt_methods, * sizeof(fdt_softc), // or 0 if no softc * }; @@ -69,21 +69,21 @@ struct ofw_kobj { /* * Opaque data that can be overlaid with an instance-private - * structure. OFW code can test that this is large enough at - * compile time with a sizeof() test againt it's softc. There + * structure. OFW code can test that this is large enough at + * compile time with a sizeof() test againt it's softc. There * is also a run-time test when the MMU kernel object is * registered. */ -#define OFW_OPAQUESZ 64 +#define OFW_OPAQUESZ 64 u_int ofw_opaque[OFW_OPAQUESZ]; }; typedef struct ofw_kobj *ofw_t; typedef struct kobj_class ofw_def_t; -#define ofw_method_t kobj_method_t -#define OFWMETHOD KOBJMETHOD +#define ofw_method_t kobj_method_t +#define OFWMETHOD KOBJMETHOD -#define OFW_DEF(name) DATA_SET(ofw_set, name) +#define OFW_DEF(name) DATA_SET(ofw_set, name) -#endif /* _OFW_OFWVAR_H_ */ +#endif /* _DEV_OFW_OFWVAR_H_ */ |
