~ubuntu-branches/ubuntu/quantal/linux-linaro-mx51/quantal

« back to all changes in this revision

Viewing changes to drivers/gpu/drm/drm_stub.c

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-3o58a3c1bj7x00rs
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
struct class *drm_class;
63
63
struct proc_dir_entry *drm_proc_root;
64
64
struct dentry *drm_debugfs_root;
 
65
 
 
66
int drm_err(const char *func, const char *format, ...)
 
67
{
 
68
        struct va_format vaf;
 
69
        va_list args;
 
70
        int r;
 
71
 
 
72
        va_start(args, format);
 
73
 
 
74
        vaf.fmt = format;
 
75
        vaf.va = &args;
 
76
 
 
77
        r = printk(KERN_ERR "[" DRM_NAME ":%s] *ERROR* %pV", func, &vaf);
 
78
 
 
79
        va_end(args);
 
80
 
 
81
        return r;
 
82
}
 
83
EXPORT_SYMBOL(drm_err);
 
84
 
65
85
void drm_ut_debug_printk(unsigned int request_level,
66
86
                         const char *prefix,
67
87
                         const char *function_name,
78
98
        }
79
99
}
80
100
EXPORT_SYMBOL(drm_ut_debug_printk);
 
101
 
81
102
static int drm_minor_get_id(struct drm_device *dev, int type)
82
103
{
83
104
        int new_id;