MLK-14885 dma: pxp: fix potential multi-definition issue
When 'CONFIG_MXC_PXP_CLIENT_DEVICE' disabled, the 'register_pxp_device' and 'unregister_pxp_device' may cause multiple definitions compiling error. Signed-off-by: Fancy Fang <chen.fang@nxp.com>pull/10/head
parent
4705151d33
commit
ed1e9196f8
|
@ -67,8 +67,8 @@ void pxp_txd_ack(struct dma_async_tx_descriptor *txd,
|
|||
int register_pxp_device(void);
|
||||
void unregister_pxp_device(void);
|
||||
#else
|
||||
int register_pxp_device(void) { return 0; }
|
||||
void unregister_pxp_device(void) {}
|
||||
static int register_pxp_device(void) { return 0; }
|
||||
static void unregister_pxp_device(void) {}
|
||||
#endif
|
||||
void pxp_fill(
|
||||
u32 bpp,
|
||||
|
|
Loading…
Reference in New Issue