diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2012-01-11 15:21:13 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2012-01-11 15:21:13 +0000 |
commit | 2b4ef92bea2edc5aebd3c1239fb5baf58681b900 (patch) | |
tree | 9d2cf72eb42296f039af80922a42075f30a8a5fb /drivers/dahdi/xpp/xbus-core.c | |
parent | f56a75587b57b0b23d62bbd5c085c1b992152189 (diff) |
xpp: style - add space after comma
* Applied via:
sed -i -e '/"/!s/,\([^ \t]\)/, \1/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@10426 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/xpp/xbus-core.c')
-rw-r--r-- | drivers/dahdi/xpp/xbus-core.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/dahdi/xpp/xbus-core.c b/drivers/dahdi/xpp/xbus-core.c index 9eb2eec..bfa3c8a 100644 --- a/drivers/dahdi/xpp/xbus-core.c +++ b/drivers/dahdi/xpp/xbus-core.c @@ -21,7 +21,7 @@ */ #include <linux/version.h> -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0) +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0) # warning "This module is tested only with 2.6 kernels" #endif @@ -314,8 +314,8 @@ void dump_xframe(const char msg[], const xbus_t *xbus, const xframe_t *xframe, i do_print = 0; if (debug == DBG_ANY) do_print = 1; - else if (XPACKET_OP(pack) != XPROTO_NAME(GLOBAL,PCM_READ) && - XPACKET_OP(pack) != XPROTO_NAME(GLOBAL,PCM_WRITE)) + else if (XPACKET_OP(pack) != XPROTO_NAME(GLOBAL, PCM_READ) && + XPACKET_OP(pack) != XPROTO_NAME(GLOBAL, PCM_WRITE)) do_print = 1; else if (debug & DBG_PCM) { static int rate_limit; @@ -550,7 +550,7 @@ xpd_t *xpd_byaddr(const xbus_t *xbus, uint unit, uint subunit) { if (unit > MAX_UNIT || subunit > MAX_SUBUNIT) return NULL; - return xbus->xpds[XPD_IDX(unit,subunit)]; + return xbus->xpds[XPD_IDX(unit, subunit)]; } int xbus_xpd_bind(xbus_t *xbus, xpd_t *xpd, int unit, int subunit) @@ -559,7 +559,7 @@ int xbus_xpd_bind(xbus_t *xbus, xpd_t *xpd, int unit, int subunit) unsigned long flags; BUG_ON(!xbus); - xpd_num = XPD_IDX(unit,subunit); + xpd_num = XPD_IDX(unit, subunit); XBUS_DBG(DEVICES, xbus, "XPD #%d\n", xpd_num); spin_lock_irqsave(&xbus->lock, flags); if (!VALID_XPD_NUM(xpd_num)) { @@ -1014,7 +1014,7 @@ void xbus_unregister_dahdi_device(xbus_t *xbus) * it returns only when all XPD's on the bus are detected and * initialized. */ -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,20) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 20) static void xbus_populate(struct work_struct *work) { struct xbus_workqueue *worker = container_of(work, struct xbus_workqueue, xpds_init_work); @@ -1101,7 +1101,7 @@ int xbus_process_worker(xbus_t *xbus) } XBUS_DBG(DEVICES, xbus, "\n"); /* Initialize the work. (adapt to kernel API changes). */ -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,20) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 20) INIT_WORK(&worker->xpds_init_work, xbus_populate); #else INIT_WORK(&worker->xpds_init_work, xbus_populate, worker); |