public inbox for ecos-patches@sourceware.org
 help / color / mirror / Atom feed
* [Bug 1001816] New: Allow non const cyg_i2c_device for I2C callback functions.
@ 2013-04-10 20:54 bugzilla-daemon
  2013-04-25 17:11 ` [Bug 1001816] " bugzilla-daemon
  2013-04-26 17:13 ` bugzilla-daemon
  0 siblings, 2 replies; 3+ messages in thread
From: bugzilla-daemon @ 2013-04-10 20:54 UTC (permalink / raw)
  To: ecos-patches

Please do not reply to this email, use the link below.

http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001816

            Bug ID: 1001816
           Summary: Allow non const cyg_i2c_device for I2C callback
                    functions.
           Product: eCos
           Version: CVS
            Target: All
  Architecture/Host Other
                OS:
            Status: NEW
          Severity: enhancement
          Priority: low
         Component: Patches and contributions
          Assignee: unassigned@bugs.ecos.sourceware.org
          Reporter: ilijak@siva.com.mk
                CC: ecos-patches@ecos.sourceware.org
            Blocks: 1001397

Created attachment 2178
  --> http://bugs.ecos.sourceware.org/attachment.cgi?id=2178&action=edit
A patch that allows override of const attribute.

The structure cyg_i2c_bus declares a number of callback functions. Some
functions have an argument of type const cyg_i2c_device*. In some cases ability
to modify cyg_i2c_device may be beneficial so it would be useful to remove
const attribute. The example is Kinetis I2C driver (bug 1001397) that uses
cyg_delay field for caching of frequency divider once it is computed.

The submitted patch provides a possibility for individual driver to override
const attribute.

Ilija

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-04-26 17:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-10 20:54 [Bug 1001816] New: Allow non const cyg_i2c_device for I2C callback functions bugzilla-daemon
2013-04-25 17:11 ` [Bug 1001816] " bugzilla-daemon
2013-04-26 17:13 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).