diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2012-01-11 15:21:54 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2012-01-11 15:21:54 +0000 |
commit | f968cd418bf89bd1c5e97bb2655b76c74f45541c (patch) | |
tree | fedb20f08b79edc1f8885d72b0258a3a4b59edcc /drivers/dahdi/xpp/xpd.h | |
parent | 2b4ef92bea2edc5aebd3c1239fb5baf58681b900 (diff) |
xpp: style - convert typedef of byte to __u8
* Applied via:
perl -pi \
-e '/"/ and next;' \
-e '/^\s*\*/ and next;' \
-e '/\/\*.*byte/ and next;' \
-e '/typedef.*byte/ and next;' \
-e 's/\bbyte\b/__u8/g' "$@"
Signed-off-by: Oron Peled <oron.peled@xorcom.com>
Acked-By: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10427 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/xpp/xpd.h')
-rw-r--r-- | drivers/dahdi/xpp/xpd.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/dahdi/xpp/xpd.h b/drivers/dahdi/xpp/xpd.h index aabbdf4..8c8c27e 100644 --- a/drivers/dahdi/xpp/xpd.h +++ b/drivers/dahdi/xpp/xpd.h @@ -88,13 +88,13 @@ typedef unsigned gfp_t; /* Added in 2.6.14 */ struct card_desc_struct { struct list_head card_list; u32 magic; - byte type; /* LSB: 1 - to_phone, 0 - to_line */ - byte subtype; + __u8 type; /* LSB: 1 - to_phone, 0 - to_line */ + __u8 subtype; struct xpd_addr xpd_addr; - byte numchips; - byte ports_per_chip; - byte ports; - byte port_dir; + __u8 numchips; + __u8 ports_per_chip; + __u8 ports; + __u8 port_dir; struct xpd_addr ec_addr; /* echo canceler address */ }; @@ -191,7 +191,7 @@ struct xpd { const struct xops *xops; xpd_type_t type; const char *type_name; - byte subtype; + __u8 subtype; int subunits; /* all siblings */ enum xpd_state xpd_state; struct device xpd_dev; |