* Patch: Make t2 core compile again for 2430
@ 2007-01-06 23:30 nishanth menon
2007-01-09 23:49 ` Tony Lindgren
0 siblings, 1 reply; 2+ messages in thread
From: nishanth menon @ 2007-01-06 23:30 UTC (permalink / raw)
To: linux-omap-open-source, Syed Mohammed, Khasim
[-- Attachment #1: Type: text/plain, Size: 132 bytes --]
Hi khasim,
Looks like some changes in t2 driver is needed to make it compile.
Some small defn changes etc..
Regards,
Nishanth Menon
[-- Attachment #2: t2_patch1.patch --]
[-- Type: application/octet-stream, Size: 2582 bytes --]
diff --git a/drivers/i2c/chips/twl4030_core.c b/drivers/i2c/chips/twl4030_core.c
index b169a68..961b3ba 100644
--- a/drivers/i2c/chips/twl4030_core.c
+++ b/drivers/i2c/chips/twl4030_core.c
@@ -135,7 +135,7 @@ static int
twl4030_detect_client(struct i2c_adapter *adapter, unsigned char sid);
static int twl4030_attach_adapter(struct i2c_adapter *adapter);
static int twl4030_detach_client(struct i2c_client *client);
-static void do_twl4030_irq(unsigned int irq, struct irqdesc *desc);
+static void do_twl4030_irq(unsigned int irq, irq_desc_t *desc);
static void twl_init_irq(void);
@@ -230,7 +230,7 @@ static void twl4030_i2c_disableint(unsigned int irq) {}
static void twl4030_i2c_enableint(unsigned int irq) {}
/* information for processing in the Work Item */
-static struct irqchip twl4030_irq_chip = {
+static struct irq_chip twl4030_irq_chip = {
.ack = twl4030_i2c_ackirq,
.mask = twl4030_i2c_disableint,
.unmask = twl4030_i2c_enableint,
@@ -385,7 +385,7 @@ int twl4030_i2c_read_u8(u8 mod_no, u8 * value, u8 reg)
* module interrupts. It executes in kernel thread context.
* On entry, cpu interrupts are disabled.
*/
-static void do_twl4030_module_irq(unsigned int irq, struct irqdesc *desc)
+static void do_twl4030_module_irq(unsigned int irq, irq_desc_t *desc)
{
struct irqaction *action;
const unsigned int cpu = smp_processor_id();
@@ -449,7 +449,7 @@ static void do_twl4030_module_irq(unsigned int irq, struct irqdesc *desc)
static int twl4030_irq_thread(void *data)
{
int irq = (int)data;
- struct irqdesc *desc = irq_desc + irq;
+ irq_desc_t *desc = irq_desc + irq;
static unsigned i2c_errors;
const static unsigned max_i2c_errors = 100;
@@ -475,7 +475,7 @@ static int twl4030_irq_thread(void *data)
for (module_irq = IH_TWL4030_BASE; 0 != pih_isr;
pih_isr >>= 1, module_irq++) {
if (pih_isr & 0x1) {
- struct irqdesc *d = irq_desc + module_irq;
+ irq_desc_t *d = irq_desc + module_irq;
local_irq_disable();
@@ -507,7 +507,7 @@ static int twl4030_irq_thread(void *data)
* thread. All we do here is acknowledge and mask the interrupt and wakeup
* the kernel thread.
*/
-static void do_twl4030_irq(unsigned int irq, struct irqdesc *desc)
+static void do_twl4030_irq(unsigned int irq, irq_desc_t *desc)
{
const unsigned int cpu = smp_processor_id();
struct task_struct *thread = (struct task_struct *)desc->chip_data;
[-- Attachment #3: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: Patch: Make t2 core compile again for 2430
2007-01-06 23:30 Patch: Make t2 core compile again for 2430 nishanth menon
@ 2007-01-09 23:49 ` Tony Lindgren
0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2007-01-09 23:49 UTC (permalink / raw)
To: nishanth menon; +Cc: linux-omap-open-source
* nishanth menon <menon.nishanth@gmail.com> [070106 15:37]:
> Hi khasim,
> Looks like some changes in t2 driver is needed to make it compile.
> Some small defn changes etc..
Thanks pushing your resent version.
Tony
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-01-09 23:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-06 23:30 Patch: Make t2 core compile again for 2430 nishanth menon
2007-01-09 23:49 ` Tony Lindgren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox