mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-31 08:25:38 +00:00
uart/omap4: prevent copy of non-copyable objects
Follow up fix for commit 0b7ea4abab + minor whitespace changes. Ref #1093
This commit is contained in:
parent
ba4045889b
commit
e285d806b3
@ -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();
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user