Commit b60b2ea5 authored by Tony Lindgren's avatar Tony Lindgren

musb_hdrc: Search and replace _pthis with _musb

Search and replace _pthis with musb
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent aab86a29
......@@ -236,10 +236,10 @@ enum musb_g_ep0_state {
/****************************** FUNCTIONS ********************************/
#define MUSB_HST_MODE(_pthis)\
{ (_pthis)->bIsHost=TRUE; }
#define MUSB_DEV_MODE(_pthis) \
{ (_pthis)->bIsHost=FALSE; }
#define MUSB_HST_MODE(_musb)\
{ (_musb)->bIsHost=TRUE; }
#define MUSB_DEV_MODE(_musb) \
{ (_musb)->bIsHost=FALSE; }
#define test_devctl_hst_mode(_x) \
(musb_readb((_x)->mregs, MGC_O_HDRC_DEVCTL)&MGC_M_DEVCTL_HM)
......
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