ps2: remove usage of deprecated env()

Issue #2280.
This commit is contained in:
Josef Söntgen 2017-02-13 19:11:19 +01:00 committed by Christian Helmuth
parent 3c57a8b3c2
commit 493d3e58cf

View File

@ -5,7 +5,7 @@
*/
/*
* Copyright (C) 2007-2013 Genode Labs GmbH
* Copyright (C) 2007-2017 Genode Labs GmbH
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU General Public License version 2.
@ -35,7 +35,7 @@ struct Ps2::Main
{
Genode::Env &_env;
Input::Session_component _session;
Input::Session_component _session { _env, _env.ram() };
Input::Root_component _root { _env.ep().rpc_ep(), _session };
Platform::Connection _platform { _env };