Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1516044
| From | Shiva Kerdel <shiva@exdev.nl> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 3/6] Staging: fsl-mc: bus: dpmcp: Kernel type 'u8' preferred over 'uint8_t' |
| Date | 2016-11-07 13:10 +0100 |
| Message-ID | <sAQUp-2Vd-15@gated-at.bofh.it> (permalink) |
| References | <sAQUp-2Vd-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Follow the kernel type preferrences of using 'u8' over 'uint8_t'.
Signed-off-by: Shiva Kerdel <shiva@exdev.nl>
---
drivers/staging/fsl-mc/bus/dpmcp.h | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/drivers/staging/fsl-mc/bus/dpmcp.h b/drivers/staging/fsl-mc/bus/dpmcp.h
index a801061..854621a 100644
--- a/drivers/staging/fsl-mc/bus/dpmcp.h
+++ b/drivers/staging/fsl-mc/bus/dpmcp.h
@@ -93,44 +93,44 @@ struct dpmcp_irq_cfg {
int dpmcp_set_irq(struct fsl_mc_io *mc_io,
u32 cmd_flags,
u16 token,
- uint8_t irq_index,
+ u8 irq_index,
struct dpmcp_irq_cfg *irq_cfg);
int dpmcp_get_irq(struct fsl_mc_io *mc_io,
u32 cmd_flags,
u16 token,
- uint8_t irq_index,
+ u8 irq_index,
int *type,
struct dpmcp_irq_cfg *irq_cfg);
int dpmcp_set_irq_enable(struct fsl_mc_io *mc_io,
u32 cmd_flags,
u16 token,
- uint8_t irq_index,
- uint8_t en);
+ u8 irq_index,
+ u8 en);
int dpmcp_get_irq_enable(struct fsl_mc_io *mc_io,
u32 cmd_flags,
u16 token,
- uint8_t irq_index,
- uint8_t *en);
+ u8 irq_index,
+ u8 *en);
int dpmcp_set_irq_mask(struct fsl_mc_io *mc_io,
u32 cmd_flags,
u16 token,
- uint8_t irq_index,
+ u8 irq_index,
u32 mask);
int dpmcp_get_irq_mask(struct fsl_mc_io *mc_io,
u32 cmd_flags,
u16 token,
- uint8_t irq_index,
+ u8 irq_index,
u32 *mask);
int dpmcp_get_irq_status(struct fsl_mc_io *mc_io,
u32 cmd_flags,
u16 token,
- uint8_t irq_index,
+ u8 irq_index,
u32 *status);
/**
--
2.10.2
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH 3/6] Staging: fsl-mc: bus: dpmcp: Kernel type 'u8' preferred over 'uint8_t' Shiva Kerdel <shiva@exdev.nl> - 2016-11-07 13:10 +0100
csiph-web