porting kernel driver and compilier error

Hi All:
I using android 5.02 OS for imx6q board. I compilier kernel error after when i porting kernel driver only. The error msg below:
driver/net/usb/cdc_ether.c error: ‘FLAG_RMNET’ undeclared here (not in a function)

Could anyone have suggestion for this ?


And I using MC7304 target board.

There has never been any reference to ‘FLAG_RMNET’ in the mainline driver/net/usb/cdc_ether.c. Which means that the error is in your source, but not in mainline. I can think of a few suggestions, but I’m trying to be polite :slight_smile:

Thanks for your reply. I solved this issue. I try to disable CDC_ETHER in config file. It’s compiler complete.