File tree Expand file tree Collapse file tree 3 files changed +5
-12
lines changed Expand file tree Collapse file tree 3 files changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ static int mhi_alloc_aligned_ring(struct mhi_controller *mhi_cntrl,
176
176
return 0 ;
177
177
}
178
178
179
- void mhi_deinit_free_irq (struct mhi_controller * mhi_cntrl )
179
+ static void mhi_deinit_free_irq (struct mhi_controller * mhi_cntrl )
180
180
{
181
181
int i ;
182
182
struct mhi_event * mhi_event = mhi_cntrl -> mhi_event ;
@@ -191,7 +191,7 @@ void mhi_deinit_free_irq(struct mhi_controller *mhi_cntrl)
191
191
free_irq (mhi_cntrl -> irq [0 ], mhi_cntrl );
192
192
}
193
193
194
- int mhi_init_irq_setup (struct mhi_controller * mhi_cntrl )
194
+ static int mhi_init_irq_setup (struct mhi_controller * mhi_cntrl )
195
195
{
196
196
struct mhi_event * mhi_event = mhi_cntrl -> mhi_event ;
197
197
struct device * dev = & mhi_cntrl -> mhi_dev -> dev ;
@@ -254,7 +254,7 @@ int mhi_init_irq_setup(struct mhi_controller *mhi_cntrl)
254
254
return ret ;
255
255
}
256
256
257
- void mhi_deinit_dev_ctxt (struct mhi_controller * mhi_cntrl )
257
+ static void mhi_deinit_dev_ctxt (struct mhi_controller * mhi_cntrl )
258
258
{
259
259
int i ;
260
260
struct mhi_ctxt * mhi_ctxt = mhi_cntrl -> mhi_ctxt ;
@@ -299,7 +299,7 @@ void mhi_deinit_dev_ctxt(struct mhi_controller *mhi_cntrl)
299
299
mhi_cntrl -> mhi_ctxt = NULL ;
300
300
}
301
301
302
- int mhi_init_dev_ctxt (struct mhi_controller * mhi_cntrl )
302
+ static int mhi_init_dev_ctxt (struct mhi_controller * mhi_cntrl )
303
303
{
304
304
struct mhi_ctxt * mhi_ctxt ;
305
305
struct mhi_chan_ctxt * chan_ctxt ;
Original file line number Diff line number Diff line change @@ -383,19 +383,12 @@ void mhi_ring_chan_db(struct mhi_controller *mhi_cntrl,
383
383
384
384
/* Initialization methods */
385
385
int mhi_init_mmio (struct mhi_controller * mhi_cntrl );
386
- int mhi_init_dev_ctxt (struct mhi_controller * mhi_cntrl );
387
- void mhi_deinit_dev_ctxt (struct mhi_controller * mhi_cntrl );
388
- int mhi_init_irq_setup (struct mhi_controller * mhi_cntrl );
389
- void mhi_deinit_free_irq (struct mhi_controller * mhi_cntrl );
390
386
int mhi_rddm_prepare (struct mhi_controller * mhi_cntrl ,
391
387
struct image_info * img_info );
392
388
void mhi_fw_load_handler (struct mhi_controller * mhi_cntrl );
393
389
394
390
/* Automatically allocate and queue inbound buffers */
395
391
#define MHI_CH_INBOUND_ALLOC_BUFS BIT(0)
396
- int mhi_prepare_channel (struct mhi_controller * mhi_cntrl ,
397
- struct mhi_chan * mhi_chan , unsigned int flags );
398
-
399
392
int mhi_init_chan_ctxt (struct mhi_controller * mhi_cntrl ,
400
393
struct mhi_chan * mhi_chan );
401
394
void mhi_deinit_chan_ctxt (struct mhi_controller * mhi_cntrl ,
Original file line number Diff line number Diff line change @@ -1435,7 +1435,7 @@ static void mhi_unprepare_channel(struct mhi_controller *mhi_cntrl,
1435
1435
mutex_unlock (& mhi_chan -> mutex );
1436
1436
}
1437
1437
1438
- int mhi_prepare_channel (struct mhi_controller * mhi_cntrl ,
1438
+ static int mhi_prepare_channel (struct mhi_controller * mhi_cntrl ,
1439
1439
struct mhi_chan * mhi_chan , unsigned int flags )
1440
1440
{
1441
1441
int ret = 0 ;
You can’t perform that action at this time.
0 commit comments