Skip to content

Commit

Permalink
[media] s5p-jpeg: convert struct spinlock to spinlock_t
Browse files Browse the repository at this point in the history
spinlock_t should always be used.
Could not get this to build with allmodconfig:
mcgrof@frijol ~/linux-next (git::(no branch))$ make C=1 M=drivers/media/platform/s5p-jpeg
  WARNING: Symbol version dump /home/mcgrof/linux-next/Module.symvers
           is missing; modules will have no dependencies and modversions.
  Building modules, stage 2.
  MODPOST 0 modules

Reported-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Luis R. Rodriguez authored and Mauro Carvalho Chehab committed Dec 27, 2012
1 parent 9d193b7 commit a75831f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/platform/s5p-jpeg/jpeg-core.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
*/
struct s5p_jpeg {
struct mutex lock;
struct spinlock slock;
spinlock_t slock;

struct v4l2_device v4l2_dev;
struct video_device *vfd_encoder;
Expand Down

0 comments on commit a75831f

Please sign in to comment.