nouveau: fix double-const qualifier

Reported by Tom^ on IRC. The original intent was to mark the pointer
constant as well as the data being pointed to, so move the *.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
Ilia Mirkin 2016-01-03 11:29:09 -05:00
parent 3684e899ea
commit bf34748b39
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@
#include "drivers/common/meta.h"
const char const *nouveau_vendor_string = "Nouveau";
const char * const nouveau_vendor_string = "Nouveau";
const char *
nouveau_get_renderer_string(unsigned chipset)

View File

@ -69,7 +69,7 @@ struct nouveau_driver {
#define nouveau_error(format, ...) \
fprintf(stderr, "%s: " format, __func__, ## __VA_ARGS__)
extern const char const *nouveau_vendor_string;
extern const char * const nouveau_vendor_string;
const char *
nouveau_get_renderer_string(unsigned chipset);