uart/omap4: prevent copy of non-copyable objects

Follow up fix for commit 0b7ea4abab + minor whitespace changes.

Ref #1093
This commit is contained in:
Norman Feske 2014-03-18 14:33:12 +01:00
parent ba4045889b
commit e285d806b3
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ int main(int argc, char **argv)
}
Uart::Driver *create(unsigned index, unsigned baudrate,
Uart::Char_avail_callback &callback)
Uart::Char_avail_callback &callback)
{
if (index > UARTS_NUM)
throw Uart::Driver_factory::Not_available();

View File

@ -29,7 +29,7 @@
class Omap_uart : public Genode::Tl16c750_base, public Uart::Driver, public Genode::Irq_handler
{
private:
Genode::Attached_io_mem_dataspace _uart_mmio;
Genode::Attached_io_mem_dataspace &_uart_mmio;
Uart::Char_avail_callback &_char_avail_callback;