Set rst_apb to NULL to avoid panic when release.

This commit is contained in:
manu 2016-11-04 19:21:11 +00:00
parent bfe00ffa62
commit bbe2cf06a3

View File

@ -390,6 +390,7 @@ aw_ir_attach(device_t dev)
uint32_t val = 0;
clk_ir = clk_gate = NULL;
rst_abp = NULL;
sc = device_get_softc(dev);
sc->dev = dev;