Const'ify scc_driver_name.
This commit is contained in:
parent
71bda3eb9a
commit
1e53269ac2
@ -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);
|
||||
|
@ -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");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user