diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2012-01-11 15:22:46 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2012-01-11 15:22:46 +0000 |
commit | dc228a61f57f12f036ae8b993aa3dc286493de67 (patch) | |
tree | 23c098b100a3b7b2a1630fc08e5790ae97060f00 /drivers/dahdi/xpp/xpp_dahdi.h | |
parent | f968cd418bf89bd1c5e97bb2655b76c74f45541c (diff) |
xpp: style - Run Lindent
* Here it is:
KERNEL_STYLE="-npro -kr -i8 -ts8 -sob -l80 -ss -ncs -cp1"
TYPEDEFS='
-T gfp_t
-T __user
-T u_char
-T __u8
-T byte
-T bool
-T charp
-T xusb_t
-T xbus_t
-T xpd_t
-T xproto_table_t
-T xproto_entry_t
-T xframe_t
-T xpacket_t
-T reg_cmd_t
'
indent $TYPEDEFS $KERNEL_STYLE \
--ignore-newlines \
--indent-label0 \
--no-space-after-function-call-names \
"$@"
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@10428 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/xpp/xpp_dahdi.h')
-rw-r--r-- | drivers/dahdi/xpp/xpp_dahdi.h | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/drivers/dahdi/xpp/xpp_dahdi.h b/drivers/dahdi/xpp/xpp_dahdi.h index 6f0e51d..6e2578f 100644 --- a/drivers/dahdi/xpp/xpp_dahdi.h +++ b/drivers/dahdi/xpp/xpp_dahdi.h @@ -30,17 +30,19 @@ int xpd_dahdi_preregister(xpd_t *xpd, unsigned offset); int xpd_dahdi_postregister(xpd_t *xpd); void xpd_dahdi_preunregister(xpd_t *xpd); void xpd_dahdi_postunregister(xpd_t *xpd); -int create_xpd(xbus_t *xbus, const xproto_table_t *proto_table, - int unit, int subunit, __u8 type, __u8 subtype, int subunits, int subunit_ports, __u8 port_dir); -xpd_t *xpd_alloc(xbus_t *xbus, int unit, int subunit, int subtype, int subunits, size_t privsize, const xproto_table_t *proto_table, int channels); +int create_xpd(xbus_t *xbus, const xproto_table_t *proto_table, int unit, + int subunit, __u8 type, __u8 subtype, int subunits, + int subunit_ports, __u8 port_dir); +xpd_t *xpd_alloc(xbus_t *xbus, int unit, int subunit, int subtype, int subunits, + size_t privsize, const xproto_table_t *proto_table, + int channels); void xpd_free(xpd_t *xpd); void xpd_remove(xpd_t *xpd); void update_xpd_status(xpd_t *xpd, int alarm_flag); const char *xpp_echocan_name(const struct dahdi_chan *chan); -int xpp_echocan_create(struct dahdi_chan *chan, - struct dahdi_echocanparams *ecp, - struct dahdi_echocanparam *p, - struct dahdi_echocan_state **ec); +int xpp_echocan_create(struct dahdi_chan *chan, struct dahdi_echocanparams *ecp, + struct dahdi_echocanparam *p, + struct dahdi_echocan_state **ec); void hookstate_changed(xpd_t *xpd, int pos, bool good); int xpp_open(struct dahdi_chan *chan); int xpp_close(struct dahdi_chan *chan); @@ -58,9 +60,9 @@ void notify_rxsig(xpd_t *xpd, int pos, enum dahdi_rxsig rxsig); #ifdef CONFIG_PROC_FS #include <linux/proc_fs.h> -extern struct proc_dir_entry *xpp_proc_toplevel; +extern struct proc_dir_entry *xpp_proc_toplevel; #endif #define SPAN_REGISTERED(xpd) atomic_read(&PHONEDEV(xpd).dahdi_registered) -#endif /* XPP_DAHDI_H */ +#endif /* XPP_DAHDI_H */ |