diff options
| author | Marius Strobl <marius@FreeBSD.org> | 2013-08-02 23:31:51 +0000 |
|---|---|---|
| committer | Marius Strobl <marius@FreeBSD.org> | 2013-08-02 23:31:51 +0000 |
| commit | 1e53269ac2d96ce70747e18aa1942285ffee67dd (patch) | |
| tree | 6a791a5abc4efbff53e9b08a5a2891686ae4c369 /sys/dev/scc | |
| parent | 71bda3eb9aa62e7073ad31ff4c374a21e2fc34ef (diff) | |
Notes
Diffstat (limited to 'sys/dev/scc')
| -rw-r--r-- | sys/dev/scc/scc_bfe.h | 2 | ||||
| -rw-r--r-- | sys/dev/scc/scc_core.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/scc/scc_bfe.h b/sys/dev/scc/scc_bfe.h index d4f415551c449..33acdc52d1529 100644 --- a/sys/dev/scc/scc_bfe.h +++ b/sys/dev/scc/scc_bfe.h @@ -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); diff --git a/sys/dev/scc/scc_core.c b/sys/dev/scc/scc_core.c index 4e12244a9361b..7c96426e768dd 100644 --- a/sys/dev/scc/scc_core.c +++ b/sys/dev/scc/scc_core.c @@ -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"); |
