Staging: fsl-mc: include: mc: Kernel type 's16' preferred over 'int16_t'
authorShiva Kerdel <shiva@exdev.nl>
Fri, 11 Nov 2016 11:21:17 +0000 (12:21 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Nov 2016 14:51:15 +0000 (15:51 +0100)
Follow the kernel type preferrences of using 's16' over 'int16_t'.

Signed-off-by: Shiva Kerdel <shiva@exdev.nl>
Acked-by: Stuart Yoder <stuart.yoder@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-mc/include/mc-bus.h

index e915574d914747990c1d45d0e7579ef700e79d64..c7cad879bb304f7913eeedff6a481ef203fcbe4a 100644 (file)
@@ -42,8 +42,8 @@ struct msi_domain_info;
  */
 struct fsl_mc_resource_pool {
        enum fsl_mc_pool_type type;
-       int16_t max_count;
-       int16_t free_count;
+       s16 max_count;
+       s16 free_count;
        struct mutex mutex;     /* serializes access to free_list */
        struct list_head free_list;
        struct fsl_mc_bus *mc_bus;