File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,14 @@ MODULE_ALIAS("platform:pxa2xx-spi");
66
66
| CE4100_SSCR1_RFT | CE4100_SSCR1_TFT | SSCR1_MWDS \
67
67
| SSCR1_SPH | SSCR1_SPO | SSCR1_LBM)
68
68
69
+ struct chip_data {
70
+ u32 cr1 ;
71
+ u32 dds_rate ;
72
+ u32 threshold ;
73
+ u16 lpss_rx_threshold ;
74
+ u16 lpss_tx_threshold ;
75
+ };
76
+
69
77
#define LPSS_GENERAL_REG_RXTO_HOLDOFF_DISABLE BIT(24)
70
78
#define LPSS_CS_CONTROL_SW_MODE BIT(0)
71
79
#define LPSS_CS_CONTROL_CS_HIGH BIT(1)
Original file line number Diff line number Diff line change @@ -75,14 +75,6 @@ struct driver_data {
75
75
struct gpio_desc * gpiod_ready ;
76
76
};
77
77
78
- struct chip_data {
79
- u32 cr1 ;
80
- u32 dds_rate ;
81
- u32 threshold ;
82
- u16 lpss_rx_threshold ;
83
- u16 lpss_tx_threshold ;
84
- };
85
-
86
78
static inline u32 pxa2xx_spi_read (const struct driver_data * drv_data , u32 reg )
87
79
{
88
80
return pxa_ssp_read_reg (drv_data -> ssp , reg );
You can’t perform that action at this time.
0 commit comments