Commit 9a687aea authored by Linus Torvalds's avatar Linus Torvalds

Merge tag 'hsi-for-4.9' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-hsi

Pull HSI fix from Sebastian Reichel:
 "Fix hsi userspace header"

* tag 'hsi-for-4.9' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-hsi:
  HSI: hsi_char.h: use __u32 from linux/types.h
parents 021723e6 7ac5d7b1
...@@ -20,10 +20,11 @@ ...@@ -20,10 +20,11 @@
* 02110-1301 USA * 02110-1301 USA
*/ */
#ifndef __HSI_CHAR_H #ifndef __HSI_CHAR_H
#define __HSI_CHAR_H #define __HSI_CHAR_H
#include <linux/types.h>
#define HSI_CHAR_MAGIC 'k' #define HSI_CHAR_MAGIC 'k'
#define HSC_IOW(num, dtype) _IOW(HSI_CHAR_MAGIC, num, dtype) #define HSC_IOW(num, dtype) _IOW(HSI_CHAR_MAGIC, num, dtype)
#define HSC_IOR(num, dtype) _IOR(HSI_CHAR_MAGIC, num, dtype) #define HSC_IOR(num, dtype) _IOR(HSI_CHAR_MAGIC, num, dtype)
...@@ -48,16 +49,16 @@ ...@@ -48,16 +49,16 @@
#define HSC_ARB_PRIO 1 #define HSC_ARB_PRIO 1
struct hsc_rx_config { struct hsc_rx_config {
uint32_t mode; __u32 mode;
uint32_t flow; __u32 flow;
uint32_t channels; __u32 channels;
}; };
struct hsc_tx_config { struct hsc_tx_config {
uint32_t mode; __u32 mode;
uint32_t channels; __u32 channels;
uint32_t speed; __u32 speed;
uint32_t arb_mode; __u32 arb_mode;
}; };
#endif /* __HSI_CHAR_H */ #endif /* __HSI_CHAR_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment