devcb: Fix mistake (nw)

This commit is contained in:
AJR 2018-02-20 19:43:46 -05:00
parent 375c7f6294
commit 819199e179

View File

@ -178,7 +178,7 @@ void devcb_read_base::devcb_reset()
devcb_read_base &devcb_read_base::chain_alloc() devcb_read_base &devcb_read_base::chain_alloc()
{ {
// set up the chained callback pointer // set up the chained callback pointer
m_chain.reset(new devcb_read_base(*this)); m_chain.reset(new devcb_read_base(device, defmask, true));
return *m_chain; return *m_chain;
} }