add static function, and remove bad attributions
parent
d90a55fe34
commit
78634c14a8
|
@ -65,8 +65,8 @@ static drm_map_list_t *drm_find_matching_map(drm_device_t *dev,
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
int drm_map_handle(drm_device_t *dev, drm_hash_item_t *hash,
|
static int drm_map_handle(drm_device_t *dev, drm_hash_item_t *hash,
|
||||||
unsigned long user_token, int hashed_handle)
|
unsigned long user_token, int hashed_handle)
|
||||||
{
|
{
|
||||||
int use_hashed_handle;
|
int use_hashed_handle;
|
||||||
|
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
#include "drmP.h"
|
#include "drmP.h"
|
||||||
#include "drm_core.h"
|
#include "drm_core.h"
|
||||||
|
|
||||||
static void __exit drm_cleanup(drm_device_t * dev);
|
static void drm_cleanup(drm_device_t * dev);
|
||||||
int drm_fb_loaded = 0;
|
int drm_fb_loaded = 0;
|
||||||
|
|
||||||
static int drm_version(struct inode *inode, struct file *filp,
|
static int drm_version(struct inode *inode, struct file *filp,
|
||||||
|
@ -336,7 +336,7 @@ EXPORT_SYMBOL(drm_init);
|
||||||
*
|
*
|
||||||
* \sa drm_init
|
* \sa drm_init
|
||||||
*/
|
*/
|
||||||
static void __exit drm_cleanup(drm_device_t * dev)
|
static void drm_cleanup(drm_device_t * dev)
|
||||||
{
|
{
|
||||||
|
|
||||||
DRM_DEBUG("\n");
|
DRM_DEBUG("\n");
|
||||||
|
@ -379,7 +379,7 @@ static void __exit drm_cleanup(drm_device_t * dev)
|
||||||
DRM_ERROR("Cannot unload module\n");
|
DRM_ERROR("Cannot unload module\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
void __exit drm_exit(struct drm_driver *driver)
|
void drm_exit(struct drm_driver *driver)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
drm_device_t *dev = NULL;
|
drm_device_t *dev = NULL;
|
||||||
|
|
Loading…
Reference in New Issue