]> git.ozlabs.org Git - petitboot/commit
Revert const device in discover_client_ops
authorGeoff Levand <geoffrey.levand@am.sony.com>
Sun, 12 Apr 2009 15:11:38 +0000 (15:11 +0000)
committerJeremy Kerr <jk@ozlabs.org>
Tue, 30 Jun 2009 07:29:00 +0000 (15:29 +0800)
commit6fd6d956ae55e755e2116d86942c62767df033de
treeca85c2ac708443b1daadfa9dbb2ad1b6dfd5cc2b
parente058e90117300125af7b6e93eb0e5aeb23543af9
Revert const device in discover_client_ops

Make the device structure passed to the discover_client_ops callbacks
writable.

Commit 2b42cdd35ccd83c52e9df257efdfcda040d170d9 (Make client ops constant)
changed the discover_client_ops callback routine arguments to be pointers
to const device structures.  Typically, the callback routines will
initialize and destroy the device.ui_info and boot_option.info variables,
so the device instance must be writable by the callback routines.

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
ui/common/discover-client.h
ui/test/pb-test.c