2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 04:03:58 +08:00
linux-next/drivers/of
Joachim Fenkes 4589f1fe57 powerpc/ibmebus: Restore "name" sysfs attribute on ibmebus devices
Recent of_platform changes made of_bus_type_init() overwrite the bus
type's .dev_attrs list, meaning that the "name" attribute that ibmebus
devices previously had is no longer present.  This is a user-visible
regression which breaks the userspace eHCA support, since the eHCA
userspace driver relies on the name attribute to check for valid
adapters.

This fixes it by providing the "name" attribute in the generic OF
device code instead.  Tested on POWER.

Signed-off-by: Joachim Fenkes <fenkes@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2008-08-20 09:50:21 +10:00
..
base.c of: adapt of_find_i2c_driver() to be usable by SPI also 2008-07-25 22:25:13 -04:00
device.c powerpc/ibmebus: Restore "name" sysfs attribute on ibmebus devices 2008-08-20 09:50:21 +10:00
gpio.c [POWERPC] of/gpio: Use dynamic base allocation 2008-05-23 15:27:19 +10:00
Kconfig spi: Add OF binding support for SPI busses 2008-07-25 22:34:40 -04:00
Makefile spi: Add OF binding support for SPI busses 2008-07-25 22:34:40 -04:00
of_i2c.c of: adapt of_find_i2c_driver() to be usable by SPI also 2008-07-25 22:25:13 -04:00
of_spi.c spi: Add OF binding support for SPI busses 2008-07-25 22:34:40 -04:00
platform.c [POWERPC] Create modalias file in sysfs for of_platform bus 2008-05-14 22:31:28 +10:00