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.c | |
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.c')
-rw-r--r-- | drivers/dahdi/xpp/xbus-core.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/dahdi/xpp/xbus-core.c b/drivers/dahdi/xpp/xbus-core.c index bfa3c8a..cdb0250 100644 --- a/drivers/dahdi/xpp/xbus-core.c +++ b/drivers/dahdi/xpp/xbus-core.c @@ -251,7 +251,7 @@ xpacket_t *xframe_next_packet(xframe_t *frm, int len) static DEFINE_SPINLOCK(serialize_dump_xframe); -static void do_hexdump(const char msg[], byte *data, uint16_t len) +static void do_hexdump(const char msg[], __u8 *data, uint16_t len) { int i; int debug = DBG_ANY; /* mask global debug */ @@ -620,12 +620,12 @@ int xbus_xpd_unbind(xbus_t *xbus, xpd_t *xpd) static int new_card(xbus_t *xbus, int unit, - byte type, - byte subtype, - byte numchips, - byte ports_per_chip, - byte ports, - byte port_dir) + __u8 type, + __u8 subtype, + __u8 numchips, + __u8 ports_per_chip, + __u8 ports, + __u8 port_dir) { const xproto_table_t *proto_table; int i; @@ -1720,8 +1720,8 @@ static int proc_xbus_command_write(struct file *file, const char __user *buffer, char *buf; xbus_t *xbus = data; char *p; - byte *pack_start; - byte *q; + __u8 *pack_start; + __u8 *q; xframe_t *xframe; size_t len; const size_t max_len = xbus->transport.max_send_size; |