1
0
Fork 0

staging: gdm724x: fix up line lengths in the .h files

This fixes up the coding style line lengths in the .h files for this
driver.

Cc: Won Kang <wonkang@gctsemi.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
hifive-unleashed-5.1
Greg Kroah-Hartman 2013-07-24 13:26:12 -07:00
parent 497a2e02a1
commit aee9440d78
3 changed files with 12 additions and 6 deletions

View File

@ -54,7 +54,8 @@ struct phy_dev {
void (*cb)(void *cb_data), void *cb_data,
int dev_idx, int nic_type);
int (*rcv_func)(void *priv_dev,
int (*cb)(void *cb_data, void *data, int len, int context),
int (*cb)(void *cb_data, void *data, int len,
int context),
void *cb_data, int context);
struct gdm_endian *(*get_endian)(void *priv_dev);
};
@ -74,7 +75,8 @@ int gdm_lte_event_init(void);
void gdm_lte_event_exit(void);
void start_rx_proc(struct phy_dev *phy_dev);
int register_lte_device(struct phy_dev *phy_dev, struct device *dev, u8 *mac_address);
int register_lte_device(struct phy_dev *phy_dev, struct device *dev,
u8 *mac_address);
void unregister_lte_device(struct phy_dev *phy_dev);
#endif /* _GDM_LTE_H_ */

View File

@ -57,7 +57,8 @@ struct mux_rx {
void *mux_dev;
u32 offset;
u32 len;
int (*callback)(void *data, int len, int tty_index, int minor, int complete);
int (*callback)(void *data, int len, int tty_index, int minor,
int complete);
};
struct rx_cxt {
@ -77,7 +78,8 @@ struct mux_dev {
struct delayed_work work_rx;
struct usb_interface *intf;
int usb_state;
int (*rx_cb)(void *data, int len, int tty_index, int minor, int complete);
int (*rx_cb)(void *data, int len, int tty_index, int minor,
int complete);
spinlock_t write_lock;
u8 minor[2];
};

View File

@ -38,8 +38,10 @@ struct tty_dev {
void *priv_dev;
int (*send_func)(void *priv_dev, void *data, int len, int tty_index,
void (*cb)(void *cb_data), void *cb_data);
int (*recv_func)(void *priv_dev, int (*cb)(void *data, int len, int tty_index, int minor, int complete));
int (*send_control)(void *priv_dev, int request, int value, void *data, int len);
int (*recv_func)(void *priv_dev, int (*cb)(void *data, int len,
int tty_index, int minor, int complete));
int (*send_control)(void *priv_dev, int request, int value, void *data,
int len);
u8 minor[2];
};