On 08/31/2011 06:55 PM, Peter Maydell wrote:
Convert the omap_intc devices to qdev. This includes adding
a 'revision' property which will be needed for omap3.

The bulk of this patch is the replacement of "s->irq[x][y]"
with  "qdev_get_gpio_in(s->ih[x], y)" now that the interrupt
controller exposes its input lines as qdev gpio inputs.

The devices are named "omap-intc" and "omap2-intc", following
the filename and the OMAP2/3 hardware names, although some
internal functions are still named "omap_inth_*".

Signed-off-by: Peter Maydell<peter.mayd...@linaro.org>
---
  hw/nseries.c   |    4 +-
  hw/omap.h      |   19 +--------
  hw/omap1.c     |  127 +++++++++++++++++++++++++++++++++++--------------------
  hw/omap2.c     |   92 ++++++++++++++++++++++++-----------------
  hw/omap_intc.c |  125 +++++++++++++++++++++++++++++++++---------------------
  5 files changed, 215 insertions(+), 152 deletions(-)


This is likely to conflict with my omap1 patches in memory/queue.

--
error compiling committee.c: too many arguments to function


Reply via email to