DWC_OTG question
Hi,
I am trying to strip down this code to run on an OS-less platform. So all the linux related code has to go. Can someone tell me what the following does and what is a LM_dEVICE and a PCI_DEV?
My question is should one of them be defined or can I get rid of both?
#ifdef LM_INTERFACE
struct lm_device *lmdev;
#elif defined(PCI_INTERFACE)
struct pci_dev *pcidev;
/** Start address of a PCI region */
resource_size_t rsrc_start;
/** Length address of a PCI region */
resource_size_t rsrc_len;
#endif