mirror of https://gitee.com/openkylin/linux.git
qed: align adjacent indent
Remove extra indent on some of adjacent declarations. Signed-off-by: Igor Russkikh <irusskikh@marvell.com> Signed-off-by: Alexander Lobakin <alobakin@marvell.com> Signed-off-by: Michal Kalderon <michal.kalderon@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
27fed78737
commit
c5c642c55e
|
@ -850,10 +850,9 @@ struct qed_common_ops {
|
|||
struct qed_dev* (*probe)(struct pci_dev *dev,
|
||||
struct qed_probe_params *params);
|
||||
|
||||
void (*remove)(struct qed_dev *cdev);
|
||||
void (*remove)(struct qed_dev *cdev);
|
||||
|
||||
int (*set_power_state)(struct qed_dev *cdev,
|
||||
pci_power_t state);
|
||||
int (*set_power_state)(struct qed_dev *cdev, pci_power_t state);
|
||||
|
||||
void (*set_name) (struct qed_dev *cdev, char name[]);
|
||||
|
||||
|
@ -861,50 +860,48 @@ struct qed_common_ops {
|
|||
* PF params required for the call before slowpath_start is
|
||||
* documented within the qed_pf_params structure definition.
|
||||
*/
|
||||
void (*update_pf_params)(struct qed_dev *cdev,
|
||||
struct qed_pf_params *params);
|
||||
int (*slowpath_start)(struct qed_dev *cdev,
|
||||
struct qed_slowpath_params *params);
|
||||
void (*update_pf_params)(struct qed_dev *cdev,
|
||||
struct qed_pf_params *params);
|
||||
|
||||
int (*slowpath_stop)(struct qed_dev *cdev);
|
||||
int (*slowpath_start)(struct qed_dev *cdev,
|
||||
struct qed_slowpath_params *params);
|
||||
|
||||
int (*slowpath_stop)(struct qed_dev *cdev);
|
||||
|
||||
/* Requests to use `cnt' interrupts for fastpath.
|
||||
* upon success, returns number of interrupts allocated for fastpath.
|
||||
*/
|
||||
int (*set_fp_int)(struct qed_dev *cdev,
|
||||
u16 cnt);
|
||||
int (*set_fp_int)(struct qed_dev *cdev, u16 cnt);
|
||||
|
||||
/* Fills `info' with pointers required for utilizing interrupts */
|
||||
int (*get_fp_int)(struct qed_dev *cdev,
|
||||
struct qed_int_info *info);
|
||||
int (*get_fp_int)(struct qed_dev *cdev, struct qed_int_info *info);
|
||||
|
||||
u32 (*sb_init)(struct qed_dev *cdev,
|
||||
struct qed_sb_info *sb_info,
|
||||
void *sb_virt_addr,
|
||||
dma_addr_t sb_phy_addr,
|
||||
u16 sb_id,
|
||||
enum qed_sb_type type);
|
||||
u32 (*sb_init)(struct qed_dev *cdev,
|
||||
struct qed_sb_info *sb_info,
|
||||
void *sb_virt_addr,
|
||||
dma_addr_t sb_phy_addr,
|
||||
u16 sb_id,
|
||||
enum qed_sb_type type);
|
||||
|
||||
u32 (*sb_release)(struct qed_dev *cdev,
|
||||
struct qed_sb_info *sb_info,
|
||||
u16 sb_id,
|
||||
enum qed_sb_type type);
|
||||
u32 (*sb_release)(struct qed_dev *cdev,
|
||||
struct qed_sb_info *sb_info,
|
||||
u16 sb_id,
|
||||
enum qed_sb_type type);
|
||||
|
||||
void (*simd_handler_config)(struct qed_dev *cdev,
|
||||
void *token,
|
||||
int index,
|
||||
void (*handler)(void *));
|
||||
void (*simd_handler_config)(struct qed_dev *cdev,
|
||||
void *token,
|
||||
int index,
|
||||
void (*handler)(void *));
|
||||
|
||||
void (*simd_handler_clean)(struct qed_dev *cdev,
|
||||
int index);
|
||||
int (*dbg_grc)(struct qed_dev *cdev,
|
||||
void *buffer, u32 *num_dumped_bytes);
|
||||
void (*simd_handler_clean)(struct qed_dev *cdev, int index);
|
||||
|
||||
int (*dbg_grc)(struct qed_dev *cdev, void *buffer, u32 *num_dumped_bytes);
|
||||
|
||||
int (*dbg_grc_size)(struct qed_dev *cdev);
|
||||
|
||||
int (*dbg_all_data) (struct qed_dev *cdev, void *buffer);
|
||||
int (*dbg_all_data)(struct qed_dev *cdev, void *buffer);
|
||||
|
||||
int (*dbg_all_data_size) (struct qed_dev *cdev);
|
||||
int (*dbg_all_data_size)(struct qed_dev *cdev);
|
||||
|
||||
int (*report_fatal_error)(struct devlink *devlink,
|
||||
enum qed_hw_err_type err_type);
|
||||
|
|
Loading…
Reference in New Issue