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/xbus-core.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/xbus-core.h')
-rw-r--r-- | drivers/dahdi/xpp/xbus-core.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/dahdi/xpp/xbus-core.h b/drivers/dahdi/xpp/xbus-core.h index 3cdaa36..7a629cf 100644 --- a/drivers/dahdi/xpp/xbus-core.h +++ b/drivers/dahdi/xpp/xbus-core.h @@ -171,7 +171,7 @@ struct echoops { struct xbus_echo_state { const struct echoops *echoops; - byte timeslots[ECHO_TIMESLOTS]; + __u8 timeslots[ECHO_TIMESLOTS]; int xpd_idx; struct device_attribute *da[MAX_XPDS]; }; @@ -188,7 +188,7 @@ struct xbus { /* low-level bus drivers set these 2 fields */ char connector[XBUS_DESCLEN]; char label[LABEL_SIZE]; - byte revision; /* Protocol revision */ + __u8 revision; /* Protocol revision */ struct xbus_transport transport; struct dahdi_device *ddev; @@ -288,8 +288,8 @@ struct xframe { struct timeval tv_received; /* filled by transport layer */ size_t frame_maxlen; - byte *packets; /* max XFRAME_DATASIZE */ - byte *first_free; + __u8 *packets; /* max XFRAME_DATASIZE */ + __u8 *first_free; int usec_towait; /* prevent overflowing AB */ void *priv; }; |