All of lore.kernel.org
 help / color / mirror / Atom feed
* [patch added to 3.12-stable] macintosh/therm_windtunnel: Export I2C module alias information
@ 2016-07-12  9:40 Jiri Slaby
  2016-07-12  9:40 ` [patch added to 3.12-stable] drivers: macintosh: rack-meter: limit idle ticks to total ticks Jiri Slaby
                   ` (50 more replies)
  0 siblings, 51 replies; 55+ messages in thread
From: Jiri Slaby @ 2016-07-12  9:40 UTC (permalink / raw)
  To: stable
  Cc: Javier Martinez Canillas, Michael Ellerman, Oliver Neukum,
	Jiri Slaby

From: Javier Martinez Canillas <javier@osg.samsung.com>

This patch has been added to the 3.12 stable tree. If you have any
objections, please let us know.

===============

commit cb0eefcc3271ea1d370476dd29685918b99c5a9f upstream.

The I2C core always reports the MODALIAS uevent as "i2c:<client name"
regardless if the driver was matched using the I2C id_table or the
of_match_table. So the driver needs to export the I2C table and this
be built into the module or udev won't have the necessary information
to auto load the correct module when the device is added.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Cc: Oliver Neukum <oliver@neukum.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
---
 drivers/macintosh/therm_windtunnel.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/macintosh/therm_windtunnel.c b/drivers/macintosh/therm_windtunnel.c
index 3b4a157714b1..b40ed32379ec 100644
--- a/drivers/macintosh/therm_windtunnel.c
+++ b/drivers/macintosh/therm_windtunnel.c
@@ -408,6 +408,7 @@ static const struct i2c_device_id therm_windtunnel_id[] = {
 	{ "therm_adm1030", adm1030 },
 	{ }
 };
+MODULE_DEVICE_TABLE(i2c, therm_windtunnel_id);
 
 static int
 do_probe(struct i2c_client *cl, const struct i2c_device_id *id)
-- 
2.9.0


^ permalink raw reply related	[flat|nested] 55+ messages in thread

end of thread, other threads:[~2016-07-12 13:20 UTC | newest]

Thread overview: 55+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-12  9:40 [patch added to 3.12-stable] macintosh/therm_windtunnel: Export I2C module alias information Jiri Slaby
2016-07-12  9:40 ` [patch added to 3.12-stable] drivers: macintosh: rack-meter: limit idle ticks to total ticks Jiri Slaby
2016-07-12  9:40 ` [patch added to 3.12-stable] KVM: x86: fix OOPS after invalid KVM_SET_DEBUGREGS Jiri Slaby
2016-07-12  9:40 ` [patch added to 3.12-stable] ARM: fix PTRACE_SETVFPREGS on SMP systems Jiri Slaby
2016-07-12  9:40 ` [patch added to 3.12-stable] powerpc: Fix definition of SIAR and SDAR registers Jiri Slaby
2016-07-12  9:40 ` [patch added to 3.12-stable] powerpc: Use privileged SPR number for MMCR2 Jiri Slaby
2016-07-12  9:40 ` [patch added to 3.12-stable] parisc: Fix pagefault crash in unaligned __get_user() call Jiri Slaby
2016-07-12  9:40 ` [patch added to 3.12-stable] ecryptfs: forbid opening files without mmap handler Jiri Slaby
2016-07-12  9:40 ` [patch added to 3.12-stable] wext: Fix 32 bit iwpriv compatibility issue with 64 bit Kernel Jiri Slaby
2016-07-12  9:40 ` [patch added to 3.12-stable] fix d_walk()/non-delayed __d_free() race Jiri Slaby
2016-07-12  9:40 ` [patch added to 3.12-stable] netfilter: x_tables: don't move to non-existent next rule Jiri Slaby
2016-07-12  9:40 ` [patch added to 3.12-stable] netfilter: x_tables: validate targets of jumps Jiri Slaby
2016-07-12  9:40 ` [patch added to 3.12-stable] netfilter: x_tables: add and use xt_check_entry_offsets Jiri Slaby
2016-07-12  9:40 ` [patch added to 3.12-stable] netfilter: x_tables: kill check_entry helper Jiri Slaby
2016-07-12  9:40 ` [patch added to 3.12-stable] netfilter: x_tables: assert minimum target size Jiri Slaby
2016-07-12  9:40 ` [patch added to 3.12-stable] netfilter: x_tables: add compat version of xt_check_entry_offsets Jiri Slaby
2016-07-12  9:40 ` [patch added to 3.12-stable] netfilter: x_tables: check standard target size too Jiri Slaby
2016-07-12  9:40 ` [patch added to 3.12-stable] netfilter: x_tables: check for bogus target offset Jiri Slaby
2016-07-12  9:40 ` [patch added to 3.12-stable] netfilter: x_tables: validate all offsets and sizes in a rule Jiri Slaby
2016-07-12  9:40 ` [patch added to 3.12-stable] netfilter: x_tables: don't reject valid target size on some architectures Jiri Slaby
2016-07-12  9:40 ` [patch added to 3.12-stable] netfilter: arp_tables: simplify translate_compat_table args Jiri Slaby
2016-07-12  9:40 ` [patch added to 3.12-stable] netfilter: ip_tables: " Jiri Slaby
2016-07-12  9:41 ` [patch added to 3.12-stable] netfilter: ip6_tables: " Jiri Slaby
2016-07-12  9:41 ` [patch added to 3.12-stable] netfilter: x_tables: xt_compat_match_from_user doesn't need a retval Jiri Slaby
2016-07-12  9:41 ` [patch added to 3.12-stable] netfilter: ensure number of counters is >0 in do_replace() Jiri Slaby
2016-07-12  9:41 ` [patch added to 3.12-stable] netfilter: x_tables: do compat validation via translate_table Jiri Slaby
2016-07-12  9:41 ` [patch added to 3.12-stable] Revert "netfilter: ensure number of counters is >0 in do_replace()" Jiri Slaby
2016-07-12  9:41 ` [patch added to 3.12-stable] netfilter: x_tables: introduce and use xt_copy_counters_from_user Jiri Slaby
2016-07-12  9:41 ` [patch added to 3.12-stable] crypto: ux500 - memmove the right size Jiri Slaby
2016-07-12  9:41 ` [patch added to 3.12-stable] sit: correct IP protocol used in ipip6_err Jiri Slaby
2016-07-12  9:41 ` [patch added to 3.12-stable] ipmr/ip6mr: Initialize the last assert time of mfc entries Jiri Slaby
2016-07-12  9:41 ` [patch added to 3.12-stable] net: alx: Work around the DMA RX overflow issue Jiri Slaby
2016-07-12  9:41 ` [patch added to 3.12-stable] usb: quirks: Add no-lpm quirk for Acer C120 LED Projector Jiri Slaby
2016-07-12  9:41 ` [patch added to 3.12-stable] usb: musb: Stop bulk endpoint while queue is rotated Jiri Slaby
2016-07-12  9:41 ` [patch added to 3.12-stable] usb: musb: Ensure rx reinit occurs for shared_fifo endpoints Jiri Slaby
2016-07-12  9:41 ` [patch added to 3.12-stable] mac80211: mesh: flush mesh paths unconditionally Jiri Slaby
2016-07-12  9:41 ` [patch added to 3.12-stable] mac80211_hwsim: Add missing check for HWSIM_ATTR_SIGNAL Jiri Slaby
2016-07-12  9:41 ` [patch added to 3.12-stable] IB/mlx4: Properly initialize GRH TClass and FlowLabel in AHs Jiri Slaby
2016-07-12  9:41 ` [patch added to 3.12-stable] powerpc/iommu: Remove the dependency on EEH struct in DDW mechanism Jiri Slaby
2016-07-12 12:35   ` Guilherme G. Piccoli
2016-07-12 13:03     ` Jiri Slaby
2016-07-12 13:20       ` Guilherme G. Piccoli
2016-07-12  9:41 ` [patch added to 3.12-stable] powerpc/pseries: Fix PCI config address for DDW Jiri Slaby
2016-07-12  9:41 ` [patch added to 3.12-stable] powerpc/tm: Always reclaim in start_thread() for exec() class syscalls Jiri Slaby
2016-07-12  9:41 ` [patch added to 3.12-stable] USB: EHCI: declare hostpc register as zero-length array Jiri Slaby
2016-07-12  9:41 ` [patch added to 3.12-stable] x86, build: copy ldlinux.c32 to image.iso Jiri Slaby
2016-07-12  9:41 ` [patch added to 3.12-stable] kprobes/x86: Clear TF bit in fault on single-stepping Jiri Slaby
2016-07-12  9:41 ` [patch added to 3.12-stable] x86/amd_nb: Fix boot crash on non-AMD systems Jiri Slaby
2016-07-12  9:41 ` [patch added to 3.12-stable] make nfs_atomic_open() call d_drop() on all ->open_context() errors Jiri Slaby
2016-07-12  9:41 ` [patch added to 3.12-stable] NFS: Fix another OPEN_DOWNGRADE bug Jiri Slaby
2016-07-12  9:41 ` [patch added to 3.12-stable] ARM: 8578/1: mm: ensure pmd_present only checks the valid bit Jiri Slaby
2016-07-12  9:41 ` [patch added to 3.12-stable] mm: Export migrate_page_move_mapping and migrate_page_copy Jiri Slaby
2016-07-12  9:41 ` [patch added to 3.12-stable] UBIFS: Implement ->migratepage() Jiri Slaby
2016-07-12  9:41 ` [patch added to 3.12-stable] scsi: remove scsi_end_request Jiri Slaby
2016-07-12  9:41 ` [patch added to 3.12-stable] scsi_lib: correctly retry failed zero length REQ_TYPE_FS commands Jiri Slaby

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.