lib/drmtest: fix const mismatch warning

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter 2013-07-19 18:24:59 +02:00
parent fc5c693014
commit 289024b328

View File

@ -1609,7 +1609,7 @@ void kmstest_free_connector_config(struct kmstest_connector_config *config)
#define PREFAULT_DEBUGFS "/sys/module/i915/parameters/prefault_disable" #define PREFAULT_DEBUGFS "/sys/module/i915/parameters/prefault_disable"
static int drmtest_prefault_control(bool enable) static int drmtest_prefault_control(bool enable)
{ {
char *name = PREFAULT_DEBUGFS; const char *name = PREFAULT_DEBUGFS;
int fd; int fd;
char buf[2] = {'Y', 'N'}; char buf[2] = {'Y', 'N'};
int index; int index;