commit | 0a4c12d4fa0fdec17cd9347ea9f70453cfaffe14 | [log] [tgz] |
---|---|---|
author | Mike Lockwood <lockwood@android.com> | Wed Mar 17 15:42:29 2010 -0400 |
committer | Colin Cross <ccross@android.com> | Tue Jun 14 09:09:06 2011 -0700 |
tree | 1ee9384c416432c0ba24098c3e63095b8df81a86 | |
parent | f6205641334bf29e59de6cbe62de618d7ee339e6 [diff] |
USB: gadget: android: check for null _android_dev in android_register_function() This fixes a load ordering issue that occurred if a function driver loads before the android gadget driver is initialized. Signed-off-by: Mike Lockwood <lockwood@android.com>