diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2014-11-26 11:46:48 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2014-11-26 18:17:05 +1100 |
commit | 093b264a977d5426c3507d5bdaf1196c4607b0d5 (patch) | |
tree | d249177e7bc43061e88a9e9e2067fa7ba8e87e8e /hw | |
parent | 89192badc730eea4eede2dbe662a3755443e9141 (diff) | |
download | skiboot-093b264a977d5426c3507d5bdaf1196c4607b0d5.zip skiboot-093b264a977d5426c3507d5bdaf1196c4607b0d5.tar.gz skiboot-093b264a977d5426c3507d5bdaf1196c4607b0d5.tar.bz2 |
Make lpc_interrupt() attribute const
It's a placeholder at the moment, which makes it easy to say "this never
gives a different answer". It also silences our one compiler warning:
hw/lpc.c: In function 'lpc_interrupt':
hw/lpc.c:457:6: warning: function might be candidate for attribute 'const' [-Wsuggest-attribute=const]
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/lpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -454,7 +454,7 @@ bool lpc_present(void) return lpc_default_chip_id >= 0; } -void lpc_interrupt(uint32_t chip_id __unused) +void __attrconst lpc_interrupt(uint32_t chip_id __unused) { /* Handle the lpc interrupt source (errors etc...) TODO... */ } |