mirror of
				https://github.com/Ysurac/openmptcprouter.git
				synced 2025-03-09 15:40:20 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			25 lines
		
	
	
	
		
			853 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
	
		
			853 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| From 372a6f146414f5b7c5d6bbf2c8e73155e44f8ad2 Mon Sep 17 00:00:00 2001
 | |
| From: Maxime Ripard <maxime@cerno.tech>
 | |
| Date: Mon, 28 Nov 2022 09:19:38 +0100
 | |
| Subject: [PATCH] drm/tests: helpers: Add missing export
 | |
| 
 | |
| drm_kunit_device_init() is a public function meant to be used by other
 | |
| tests, but isn't exported. This leads to modpost errors when the other
 | |
| tests are compiled as module.
 | |
| 
 | |
| Reported-by: kernel test robot <lkp@intel.com>
 | |
| Signed-off-by: Maxime Ripard <maxime@cerno.tech>
 | |
| ---
 | |
|  drivers/gpu/drm/tests/drm_kunit_helpers.c | 1 +
 | |
|  1 file changed, 1 insertion(+)
 | |
| 
 | |
| --- a/drivers/gpu/drm/tests/drm_kunit_helpers.c
 | |
| +++ b/drivers/gpu/drm/tests/drm_kunit_helpers.c
 | |
| @@ -66,6 +66,7 @@ struct drm_device *drm_kunit_device_init
 | |
|  
 | |
|  	return drm;
 | |
|  }
 | |
| +EXPORT_SYMBOL(drm_kunit_device_init);
 | |
|  
 | |
|  MODULE_AUTHOR("Maxime Ripard <maxime@cerno.tech>");
 | |
|  MODULE_LICENSE("GPL");
 |