Const'ify scc_driver_name.

This commit is contained in:
Marius Strobl 2013-08-02 23:31:51 +00:00
parent 71bda3eb9a
commit 1e53269ac2
2 changed files with 2 additions and 2 deletions

View File

@ -136,7 +136,7 @@ struct scc_softc {
};
extern devclass_t scc_devclass;
extern char scc_driver_name[];
extern const char scc_driver_name[];
int scc_bfe_attach(device_t dev, u_int ipc);
int scc_bfe_detach(device_t dev);

View File

@ -46,7 +46,7 @@ __FBSDID("$FreeBSD$");
#include "scc_if.h"
devclass_t scc_devclass;
char scc_driver_name[] = "scc";
const char scc_driver_name[] = "scc";
static MALLOC_DEFINE(M_SCC, "SCC", "SCC driver");