[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20091106.002651.21006753.davem@davemloft.net>
Date: Fri, 06 Nov 2009 00:26:51 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: sfr@...b.auug.org.au
Cc: linux-next@...r.kernel.org, linux-kernel@...r.kernel.org,
kristoffer@...sler.com
Subject: Re: linux-next: sparc tree build failure
From: David Miller <davem@...emloft.net>
Date: Fri, 06 Nov 2009 00:19:30 -0800 (PST)
> From: Stephen Rothwell <sfr@...b.auug.org.au>
> Date: Fri, 6 Nov 2009 18:02:48 +1100
>
>> Caused by commit d4ac42a582e46d7f86f0acb4253a310423c72c4c ("sparc:
>> Support for GRLIB APBUART serial port") (yes again :-)). I have applied
>> my patch to make it only build on SPARC again ...
>>
>> (Including linux/of_platform.h - where struct of_platform_driver,
>> of_register_driver() and of_platform_bus_type are declared - would be a
>> good start ... and the code should probably be using
>> of_register_platform_driver() instead of of_register_driver() in any
>> case.)
>
> Sorry, sparc is getting those headers indirectly.
>
> I'll fix this up.
Stephen, can you let me know if this takes care of everything?
I also noticed that the of_driver was not being unregistered on
module unload.
apbuart: Fix build and missing driver unregister.
linux/of_platform.h needs to be included
OF driver needs to be unregistered
Signed-off-by: David S. Miller <davem@...emloft.net>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists