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,
176176 return 0 ;
177177}
178178
179- void mhi_deinit_free_irq (struct mhi_controller * mhi_cntrl )
179+ static void mhi_deinit_free_irq (struct mhi_controller * mhi_cntrl )
180180{
181181 int i ;
182182 struct mhi_event * mhi_event = mhi_cntrl -> mhi_event ;
@@ -191,7 +191,7 @@ void mhi_deinit_free_irq(struct mhi_controller *mhi_cntrl)
191191 free_irq (mhi_cntrl -> irq [0 ], mhi_cntrl );
192192}
193193
194- int mhi_init_irq_setup (struct mhi_controller * mhi_cntrl )
194+ static int mhi_init_irq_setup (struct mhi_controller * mhi_cntrl )
195195{
196196 struct mhi_event * mhi_event = mhi_cntrl -> mhi_event ;
197197 struct device * dev = & mhi_cntrl -> mhi_dev -> dev ;
@@ -254,7 +254,7 @@ int mhi_init_irq_setup(struct mhi_controller *mhi_cntrl)
254254 return ret ;
255255}
256256
257- void mhi_deinit_dev_ctxt (struct mhi_controller * mhi_cntrl )
257+ static void mhi_deinit_dev_ctxt (struct mhi_controller * mhi_cntrl )
258258{
259259 int i ;
260260 struct mhi_ctxt * mhi_ctxt = mhi_cntrl -> mhi_ctxt ;
@@ -299,7 +299,7 @@ void mhi_deinit_dev_ctxt(struct mhi_controller *mhi_cntrl)
299299 mhi_cntrl -> mhi_ctxt = NULL ;
300300}
301301
302- int mhi_init_dev_ctxt (struct mhi_controller * mhi_cntrl )
302+ static int mhi_init_dev_ctxt (struct mhi_controller * mhi_cntrl )
303303{
304304 struct mhi_ctxt * mhi_ctxt ;
305305 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,
383383
384384/* Initialization methods */
385385int 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 );
390386int mhi_rddm_prepare (struct mhi_controller * mhi_cntrl ,
391387 struct image_info * img_info );
392388void mhi_fw_load_handler (struct mhi_controller * mhi_cntrl );
393389
394390/* Automatically allocate and queue inbound buffers */
395391#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-
399392int mhi_init_chan_ctxt (struct mhi_controller * mhi_cntrl ,
400393 struct mhi_chan * mhi_chan );
401394void 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,
14351435 mutex_unlock (& mhi_chan -> mutex );
14361436}
14371437
1438- int mhi_prepare_channel (struct mhi_controller * mhi_cntrl ,
1438+ static int mhi_prepare_channel (struct mhi_controller * mhi_cntrl ,
14391439 struct mhi_chan * mhi_chan , unsigned int flags )
14401440{
14411441 int ret = 0 ;
You can’t perform that action at this time.
0 commit comments