06 Jan, 2012
1 commit
-
This patch converts the drivers in drivers/watchdog/* to use the
module_platform_driver() macro which makes the code smaller and a bit
simpler.Signed-off-by: Axel Lin
Cc: Nicolas Thill
Cc: Florian Fainelli
Cc: "David S. Miller"
Cc: Paul Cercueil
Cc: Marc Zyngier
Cc: Wan ZongShun
Cc: Alejandro Cabrera
Cc: "George G. Davis"
Cc: Sylver Bruneau
Cc: Vitaly Wool
Cc: Mika Westerberg
Cc: Timo Kokkonen
Signed-off-by: Wim Van Sebroeck
27 May, 2011
1 commit
-
With the addition of a platform device mfd_cell pointer, MFD drivers
can go back to passing platform data back to their sub drivers.
This allows for an mfd_cell->mfd_data removal and thus keep the
sub drivers MFD agnostic. This is mostly needed for non MFD aware
sub drivers.Cc: Grant Likely
Cc: Wim Van Sebroeck
Cc: Florian Fainelli
Signed-off-by: Samuel Ortiz
23 Mar, 2011
1 commit
-
Use mfd_data for passing information from mfd drivers to soc
clients. The mfd_cell's driver_data field is being phased out.Clients that were using driver_data now access .mfd_data
via mfd_get_data().Signed-off-by: Andres Salomon
Signed-off-by: Samuel Ortiz
22 Dec, 2010
1 commit
-
rdc321x-wdt currently fetches its driver specific data by using the
platform_device->platform_data pointer, this is wrong because the mfd
device which registers our platform_device has been added using
mfd_add_device() which sets the platform_device->driver_data pointer
instead.Signed-off-by: Florian Fainelli
CC: stable@kernel.org
Signed-off-by: Samuel Ortiz
28 May, 2010
2 commits
-
The rdc321x southbridge PCI device has no MEM PCI resources that we could
pass to mfd_add_devices. Since 33254dd5, mfd_add_device checks for the
mem_base argument that we set to NULL. Changing the resources passed to
our MFD cells from IORESOURCE_MEM to IORESOURCE_IO fixes that. Since we use
those resources as offsets to the PCI configuration space base address of
the southbridge device this is also more adequate.Signed-off-by: Florian Fainelli
Signed-off-by: Samuel Ortiz -
The RDC321x MFD southbridge driver will pass a reference to the
southbridge PCI device which should be used by the watchdog driver for its
operations. This patch converts the watchdog driver to use the pci_dev
pointer and make use of the base register resource which is passed along
with the platform device.Signed-off-by: Florian Fainelli
Acked-by: Wim Van Sebroeck
Signed-off-by: Samuel Ortiz
07 Mar, 2010
1 commit
-
make the watchdog_info struct const where possible.
Signed-off-by: Wim Van Sebroeck
18 Jun, 2009
1 commit
-
A pointer to probe and remove functions is passed to the core via
platform_driver_register and so the function must not disappear when the
.init sections are discarded. Otherwise (if also having HOTPLUG=y)
unbinding and binding a device to the driver via sysfs will result in an
oops as does a device being registered late.Signed-off-by: Wim Van Sebroeck
19 Jan, 2009
1 commit
-
Impact: cleanup
Move/remove leftover RDC321 files. Now that it's not a subarch anymore,
arch/x86/mach-rdc321x and arch/x86/include/asm/mach-rdc321x/ are not
needed.One include file was still in use: rdc321x_defs.h, move that to the
generic x86 asm header directory.Signed-off-by: Ingo Molnar
23 Sep, 2008
1 commit
-
Fix some drivers so that they use the unlocked_ioctl call.
Signed-off-by: Wim Van Sebroeck
27 Aug, 2008
1 commit
-
This patch adds support for the built-in RDC R-321x SoC watchdog.
Signed-off-by: Florian Fainelli
Signed-off-by: Wim Van Sebroeck