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:
parent
3684e899ea
commit
bf34748b39
|
@ -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)
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue